summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/EGL.cpp
diff options
context:
space:
mode:
authorVlad Firoiu <vladfi2@gmail.com>2017-12-28 22:42:43 -0500
committerVlad Firoiu <vladfi2@gmail.com>2017-12-29 19:35:43 -0500
commiteb5926719629d19dfddd1028e8bc73bc03d9b568 (patch)
treeb01fbdc842ac702b276bf1355b4d8bdfe8749f85 /Source/Core/Common/GL/GLInterface/EGL.cpp
parent257da9980ed0dd1fe363ef81a511a49dd6cd97c1 (diff)
Surfaceless egl rendering.
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/EGL.cpp')
-rw-r--r--Source/Core/Common/GL/GLInterface/EGL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/GL/GLInterface/EGL.cpp b/Source/Core/Common/GL/GLInterface/EGL.cpp
index 9d1983190c..d4fa3b352e 100644
--- a/Source/Core/Common/GL/GLInterface/EGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGL.cpp
@@ -63,6 +63,7 @@ void cInterfaceEGL::DetectMode()
// 8 bits per color
int attribs[] = {EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8, EGL_RENDERABLE_TYPE, renderable_type,
+ EGL_SURFACE_TYPE, 0,
EGL_NONE};
// Get how many configs there are
@@ -180,6 +181,7 @@ bool cInterfaceEGL::Create(void* window_handle, bool stereo, bool core)
8,
EGL_BLUE_SIZE,
8,
+ EGL_SURFACE_TYPE, 0,
EGL_NONE};
std::vector<EGLint> ctx_attribs;