Partially revert "mesa: use GLenum16 in a few more places"
authorMark Janes <mark.a.janes@intel.com>
Tue, 13 Feb 2018 06:15:47 +0000 (22:15 -0800)
committerMark Janes <mark.a.janes@intel.com>
Tue, 13 Feb 2018 08:22:05 +0000 (00:22 -0800)
This reverts part of commit ca721b3d894a49d7342f5aa053ed132017e9352a.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105067

src/mesa/main/mtypes.h

index a589bd4bb297cece8db1bcd0cde00b954afd0c44..7da3240da78428f4bc96c0e2a9cbb2d5e8e977d0 100644 (file)
@@ -1068,7 +1068,7 @@ struct gl_texture_object
    GLbyte _MaxLevel;           /**< actual max mipmap level (q in the spec) */
    GLfloat _MaxLambda;         /**< = _MaxLevel - BaseLevel (q - p in spec) */
    GLint CropRect[4];          /**< GL_OES_draw_texture */
-   GLenum16 Swizzle[4];        /**< GL_EXT_texture_swizzle */
+   GLenum Swizzle[4];          /**< GL_EXT_texture_swizzle */
    GLushort _Swizzle;          /**< same as Swizzle, but SWIZZLE_* format */
    GLbyte ImmutableLevels;     /**< ES 3.0 / ARB_texture_view */
    GLboolean GenerateMipmap;   /**< GL_SGIS_generate_mipmap */