Mesa (master): mesa: remove unused gl_texture_object::DriverData field

Brian Paul brianp at kemper.freedesktop.org
Mon Nov 28 22:41:44 UTC 2011


Module: Mesa
Branch: master
Commit: 5c84e961e3984ff7116f14a630b2984c5b97413d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c84e961e3984ff7116f14a630b2984c5b97413d

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Nov 28 10:07:19 2011 -0700

mesa: remove unused gl_texture_object::DriverData field

---

 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 */
 };
 
 




More information about the mesa-commit mailing list