mesa: replace function pointer types with void *
authorBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 00:39:48 +0000 (18:39 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 00:39:52 +0000 (18:39 -0600)
These fields are no longer used and will be removed soon.

src/mesa/main/mtypes.h

index d7bf7689f3c20692042ee51e4e6562ceeff77724..8468f74ca1fc4b1c61e71e0bbde4c38aa9cca98b 100644 (file)
@@ -1203,21 +1203,21 @@ struct gl_texture_format
 
    GLuint TexelBytes;          /**< Bytes per texel, 0 if compressed format */
 
-   StoreTexImageFunc StoreImage;
+   void *StoreImage;
 
    /**
     * \name Texel fetch function pointers
     */
    /*@{*/
-   FetchTexelFuncC FetchTexel1D;
-   FetchTexelFuncC FetchTexel2D;
-   FetchTexelFuncC FetchTexel3D;
-   FetchTexelFuncF FetchTexel1Df;
-   FetchTexelFuncF FetchTexel2Df;
-   FetchTexelFuncF FetchTexel3Df;
+   void *FetchTexel1D;
+   void *FetchTexel2D;
+   void *FetchTexel3D;
+   void *FetchTexel1Df;
+   void *FetchTexel2Df;
+   void *FetchTexel3Df;
    /*@}*/
 
-   StoreTexelFunc StoreTexel;
+   void *toreTexel;
 };