mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
glx: fix correct sizeof GL unsigned int
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
This commit is contained in:
committed by
Enrico Weigelt
parent
4e1515f793
commit
604582d179
@@ -347,7 +347,7 @@ __glXTypeSize(GLenum enm)
|
|||||||
case GL_INT:
|
case GL_INT:
|
||||||
return sizeof(GLint);
|
return sizeof(GLint);
|
||||||
case GL_UNSIGNED_INT:
|
case GL_UNSIGNED_INT:
|
||||||
return sizeof(GLint);
|
return sizeof(GLuint);
|
||||||
case GL_FLOAT:
|
case GL_FLOAT:
|
||||||
return sizeof(GLfloat);
|
return sizeof(GLfloat);
|
||||||
case GL_DOUBLE:
|
case GL_DOUBLE:
|
||||||
|
|||||||
Reference in New Issue
Block a user