case GL_RGB16F:
case GL_RGB8:
case GL_SRGB8:
+ case GL_RGB565:
format = GL_RGB;
break;
case GL_RG32F:
case GL_R8:
type = GL_UNSIGNED_BYTE;
break;
+ case GL_RGB565:
+ type = GL_UNSIGNED_SHORT_5_6_5;
+ break;
default:
// TODO: Add more here as needed.
assert(false);
case GL_R8:
bytes_per_pixel = 1;
break;
+ case GL_RGB565:
+ bytes_per_pixel = 2;
+ break;
default:
// TODO: Add more here as needed.
assert(false);
// changes, even within git versions. There is no specific version
// documentation outside the regular changelogs, though.
-#define MOVIT_VERSION 9
+#define MOVIT_VERSION 10
#endif // !defined(_MOVIT_VERSION_H)