Fixed the texture type of the rgb9e5 canvas format

--HG--
branch : Canvas-formats
This commit is contained in:
Alex Szpakowski
2014-05-13 21:22:29 -03:00
parent 408a593113
commit febbecddf7
+1 -1
View File
@@ -1020,7 +1020,7 @@ void Canvas::convertFormat(Canvas::Format format, GLenum &internalformat, GLenum
case FORMAT_RGB9E5:
internalformat = GL_RGB9_E5;
externalformat = GL_RGB;
type = GL_RGB9_E5;
type = GL_UNSIGNED_INT_5_9_9_9_REV;
case FORMAT_RG11B10F:
internalformat = GL_R11F_G11F_B10F;
externalformat = GL_RGB;