Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

egl: fix GLES2 support in RGBA 8:8:8:8 mode.

... aka fix DEPTH to be 24, not 8 in this case. Other change includes
a minor cosmetics (vertical alignment).

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
  • Loading branch information...
commit f4492f8b13c0d78bb9fd206405ba0ab2175dbded 1 parent 196b26a
@gbeauchesne authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/windowing/X11/WinSystemX11GLES.cpp
View
6 xbmc/windowing/X11/WinSystemX11GLES.cpp
@@ -42,15 +42,15 @@ using namespace std;
#define GSIZE 8
#define BSIZE 8
#define ASIZE 8
-#define DEPTH 8
-#define BPP 32
+#define DEPTH 24
+#define BPP 32
#elif defined(RGB565)
#define RSIZE 5
#define GSIZE 6
#define BSIZE 5
#define ASIZE 0
#define DEPTH 16
-#define BPP 16
+#define BPP 16
#endif
static int configAttributes[] =

2 comments on commit f4492f8

@theuni

This is depth buffer, not color depth. We don't use a depth buffer, we only provide a small one for vis/screensavers.

@gbeauchesne

OK, I will remove this patch. Thanks.

Please sign in to comment.
Something went wrong with that request. Please try again.