From 2d270ac0904a1e3779906f7dbf493f31e5b3823b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 9 Dec 2010 19:05:50 +0800 Subject: [PATCH] mesa: Fix GL_FIXED arrays. It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027. --- src/mesa/main/image.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2