From: Brian Paul Date: Wed, 16 Feb 2011 14:08:47 +0000 (-0700) Subject: mesa: use gl_format type instead of GLuint X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc5ab1b19780ef97c5e7f6257a2d91121503bd53;p=mesa.git mesa: use gl_format type instead of GLuint --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index b7473e1ca8d..b5966dffeab 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1240,7 +1240,7 @@ struct gl_texture_image * GL_DEPTH_COMPONENT or GL_DEPTH_STENCIL_EXT * only. Used for choosing TexEnv arithmetic. */ - GLuint TexFormat; /**< The actual format: MESA_FORMAT_x */ + gl_format TexFormat; /**< The actual texture memory format */ GLuint Border; /**< 0 or 1 */ GLuint Width; /**< = 2^WidthLog2 + 2*Border */ @@ -2380,7 +2380,7 @@ struct gl_renderbuffer GLenum InternalFormat; /**< The user-specified format */ GLenum _BaseFormat; /**< Either GL_RGB, GL_RGBA, GL_DEPTH_COMPONENT or GL_STENCIL_INDEX. */ - GLuint Format; /**< The actual format: MESA_FORMAT_x */ + gl_format Format; /**< The actual renderbuffer memory format */ GLubyte NumSamples;