From db2917dde5e8aaf9514e19772b8f0f6646b18deb Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 2 Jan 2016 02:22:09 +0100 Subject: OPENGL: Fix texture format for BGR565. --- backends/graphics/opengl/opengl-defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/graphics/opengl/opengl-defs.h') diff --git a/backends/graphics/opengl/opengl-defs.h b/backends/graphics/opengl/opengl-defs.h index 793955c093..4de73d3476 100644 --- a/backends/graphics/opengl/opengl-defs.h +++ b/backends/graphics/opengl/opengl-defs.h @@ -202,6 +202,7 @@ typedef GLhandleARB GLshader; #define GL_UNSIGNED_SHORT_5_6_5 0x8363 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 +#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -- cgit v1.2.3