diff options
author | Brian Paul <[email protected]> | 2009-05-06 09:56:26 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-07 10:12:32 -0600 |
commit | 87ba2285fe11dfe068798e5f8ea8e089a5d8b28b (patch) | |
tree | a770a09ab67eea517db0a3d8685d782dd3c10f29 | |
parent | 2369f14245222a9c073846baa1bb03e23aa37c15 (diff) |
mesa: add GL_DOUBLE case in _mesa_sizeof_type()
-rw-r--r-- | 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 ddae456fa12..ea76ed04e4f 100644 --- 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: |