[PATCH 01/10] Add GL_FIXED to __gl_type_size

Chia-I Wu olvaffe at gmail.com
Tue Nov 8 14:13:11 PST 2011


It is needed for GL_ARB_ES2_compatibility (and GLES).
---
 glsize.hpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/glsize.hpp b/glsize.hpp
index a042a14..76da8fa 100644
--- a/glsize.hpp
+++ b/glsize.hpp
@@ -60,6 +60,7 @@ __gl_type_size(GLenum type)
     case GL_UNSIGNED_INT:
     case GL_FLOAT:
     case GL_4_BYTES:
+    case GL_FIXED:
         return 4;
     case GL_DOUBLE:
         return 8;
-- 
1.7.6.3



More information about the apitrace mailing list