From: Chia-I Wu Date: Thu, 9 Dec 2010 11:05:50 +0000 (+0800) Subject: mesa: Fix GL_FIXED arrays. X-Git-Tag: mesa-7.10~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d270ac0904a1e3779906f7dbf493f31e5b3823b;p=platform%2Fupstream%2Fmesa.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 df1527b..f9f2ed7 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; }