Skip to content
Snippets Groups Projects
Commit 4d99fc70 authored by Steve Kondik's avatar Steve Kondik
Browse files

Request a v3 context

parent 55db0534
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ LOCAL_SHARED_LIBRARIES := \ ...@@ -27,7 +27,7 @@ LOCAL_SHARED_LIBRARIES := \
libutils \ libutils \
libz \ libz \
libEGL \ libEGL \
libGLESv2 libGLESv3
LOCAL_STATIC_LIBRARIES += \ LOCAL_STATIC_LIBRARIES += \
libvncserver libvncserver
......
...@@ -142,7 +142,7 @@ status_t EglWindow::eglSetupContext(bool forPbuffer) { ...@@ -142,7 +142,7 @@ status_t EglWindow::eglSetupContext(bool forPbuffer) {
} }
EGLint contextAttribs[] = { EGLint contextAttribs[] = {
EGL_CONTEXT_CLIENT_VERSION, 2, EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE EGL_NONE
}; };
mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT,
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
#include "Program.h" #include "Program.h"
#include <GLES2/gl2.h> #include <GLES3/gl3.h>
#include <GLES3/gl3ext.h>
#include <GLES2/gl2ext.h> #include <GLES2/gl2ext.h>
#include <assert.h> #include <assert.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <utils/Errors.h> #include <utils/Errors.h>
#include <EGL/egl.h> #include <EGL/egl.h>
#include <GLES2/gl2.h> #include <GLES3/gl3.h>
namespace android { namespace android {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment