meta: Track temporary textures using gl_texture_object instead of GL API object handle
[mesa.git] / src / mesa / drivers / common / meta.h
index 252b236716312c4dafed8e4d25247363a6f24fb0..6d5185492d41b2374a0f98dd717c80d958ed5cf8 100644 (file)
@@ -200,7 +200,7 @@ struct save_state
  */
 struct temp_texture
 {
-   GLuint TexObj;
+   struct gl_texture_object *tex_obj;
    GLenum Target;         /**< GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE */
    GLsizei MinSize;       /**< Min texture size to allocate */
    GLsizei MaxSize;       /**< Max possible texture size */