diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-30 20:28:45 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-30 20:28:45 -0600 |
commit | 1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa (patch) | |
tree | 1126fbf352c0f86b86afda83a7a0ca58e6243723 /src/mesa/main/mtypes.h | |
parent | e2e7bd6c1f979179e6840cf0e8db72fc72751650 (diff) |
mesa: replace gl_texture_format with gl_format
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d448e3e158..56d5e9fafd 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1200,7 +1200,7 @@ struct gl_texture_image GLboolean IsClientData; /**< Data owned by client? */ GLboolean _IsPowerOfTwo; /**< Are all dimensions powers of two? */ - const struct gl_texture_format *TexFormat; + GLuint TexFormat; /**< XXX Really gl_format */ struct gl_texture_object *TexObject; /**< Pointer back to parent object */ |