projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2369f14
)
mesa: add GL_DOUBLE case in _mesa_sizeof_type()
author
Brian Paul
<brianp@vmware.com>
Wed, 6 May 2009 15:56:26 +0000
(09:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 7 May 2009 16:12:32 +0000
(10:12 -0600)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index ddae456fa129b4b4c6f03bb80ed415c20d05c90d..ea76ed04e4fdbde9905ae871ddf4d1c869bf4eac 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-181,6
+181,8
@@
_mesa_sizeof_type( GLenum type )
return sizeof(GLint);
case GL_FLOAT:
return sizeof(GLfloat);
+ case GL_DOUBLE:
+ return sizeof(GLdouble);
case GL_HALF_FLOAT_ARB:
return sizeof(GLhalfARB);
default: