Mesa (master): mesa: Fix GL_FIXED arrays.

Chia-I Wu olv at kemper.freedesktop.org
Thu Dec 9 11:25:24 UTC 2010


Module: Mesa
Branch: master
Commit: 2d270ac0904a1e3779906f7dbf493f31e5b3823b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d270ac0904a1e3779906f7dbf493f31e5b3823b

Author: Chia-I Wu <olv at lunarg.com>
Date:   Thu Dec  9 19:05:50 2010 +0800

mesa: Fix GL_FIXED arrays.

It is broken since 433e5e6defc85d8b1d6262aff990e3f5a8b37027.

---

 src/mesa/main/image.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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;
    }




More information about the mesa-commit mailing list