Commits

Alex Szpakowski  committed 2c314a2

Fixed the texture type of the rgb9e5 canvas format

  • Participants
  • Parent commits 3eba4cf
  • Branches Canvas-formats

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Canvas.cpp

 	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;