[Mesa-dev] [PATCH 2/2] mesa: remove unused gl_texture_object::DriverData field

Brian Paul brianp at vmware.com
Tue Nov 22 16:28:10 PST 2011


---
 src/mesa/main/mtypes.h |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 96a4426..e8866c6 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1342,15 +1342,6 @@ struct gl_texture_object
 
    /** GL_OES_EGL_image_external */
    GLint RequiredTextureImageUnits;
-
-   /**
-    * \name For device driver.
-    * Note: instead of attaching driver data to this pointer, it's preferable
-    * to instead use this struct as a base class for your own texture object
-    * class.  Driver->NewTextureObject() can be used to implement the
-    * allocation.
-    */
-   void *DriverData;	/**< Arbitrary device driver data */
 };
 
 
-- 
1.7.3.4



More information about the mesa-dev mailing list