From: Chia-I Wu Date: Thu, 9 Dec 2010 11:05:50 +0000 (+0800) Subject: mesa: Fix GL_FIXED arrays. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d270ac0904a1e3779906f7dbf493f31e5b3823b;p=mesa.git mesa: Fix GL_FIXED arrays. It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027. --- diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index df1527b47f1..f9f2ed73077 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -154,6 +154,8 @@ _mesa_sizeof_type( GLenum type ) return sizeof(GLdouble); case GL_HALF_FLOAT_ARB: return sizeof(GLhalfARB); + case GL_FIXED: + return sizeof(GLfixed); default: return -1; }