mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Don't initialize EGL, this is causing issues
This commit is contained in:
parent
8cdf5a41d8
commit
4c87af5975
|
@ -75,21 +75,6 @@ void DisplayWindowMupen64plus::_setAttributes()
|
|||
|
||||
bool DisplayWindowMupen64plus::_start()
|
||||
{
|
||||
#ifdef EGL
|
||||
// Normally this is initialized externally through VidExt, but if VidExt is not implemented,
|
||||
// do this here anyways. Calling eglInitialize has no negative effect according to the spec
|
||||
|
||||
EGLDisplay display;
|
||||
if ((display = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY) {
|
||||
LOG(LOG_ERROR, "eglGetDisplay() returned error %d", eglGetError());
|
||||
return false;
|
||||
}
|
||||
if (!eglInitialize(display, nullptr, nullptr)) {
|
||||
LOG(LOG_ERROR, "eglInitialize() returned error %d", eglGetError());
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
FunctionWrapper::setThreadedMode(config.video.threadedVideo);
|
||||
FunctionWrapper::CoreVideo_Init();
|
||||
_setAttributes();
|
||||
|
|
Loading…
Reference in New Issue
Block a user