mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 08:30:34 +01:00
mesa: add GL_DOUBLE case in _mesa_sizeof_type()
This commit is contained in:
parent
2369f14245
commit
87ba2285fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue