|
|
|
@ -30,7 +30,7 @@ EglContextHandler::~EglContextHandler() { |
|
|
|
VisualId EglContextHandler::getVisualId(EGLNativeDisplayType nativeDisplay) { |
|
|
|
VisualId EglContextHandler::getVisualId(EGLNativeDisplayType nativeDisplay) { |
|
|
|
/* Initialize */ |
|
|
|
/* Initialize */ |
|
|
|
display = eglGetDisplay(nativeDisplay); |
|
|
|
display = eglGetDisplay(nativeDisplay); |
|
|
|
eglInitialize(display, 0, 0); |
|
|
|
eglInitialize(display, nullptr, nullptr); |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
eglBindAPI(EGL_OPENGL_API); |
|
|
|
eglBindAPI(EGL_OPENGL_API); |
|
|
|
#else |
|
|
|
#else |
|
|
|
|