mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45:39 +00:00
Hopefully fixed the black screen bug with certain emulators.
This commit is contained in:
parent
bd41892cfd
commit
35d8afc174
|
@ -1,3 +1,6 @@
|
||||||
|
October 26
|
||||||
|
-Hopefully fixed the black screen bug with certain programs.
|
||||||
|
|
||||||
October 25
|
October 25
|
||||||
-Added gameImageNotFound tag for an image to display if a game image is not found/defined.
|
-Added gameImageNotFound tag for an image to display if a game image is not found/defined.
|
||||||
-Fixed keyboard not skipping joystick input configuration.
|
-Fixed keyboard not skipping joystick input configuration.
|
||||||
|
|
|
@ -172,10 +172,6 @@ namespace Renderer
|
||||||
|
|
||||||
void destroySurface()
|
void destroySurface()
|
||||||
{
|
{
|
||||||
SDL_FreeSurface(sdlScreen);
|
|
||||||
sdlScreen = NULL;
|
|
||||||
SDL_Quit();
|
|
||||||
|
|
||||||
eglSwapBuffers(display, surface);
|
eglSwapBuffers(display, surface);
|
||||||
eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
||||||
eglDestroySurface(display, surface);
|
eglDestroySurface(display, surface);
|
||||||
|
@ -185,6 +181,10 @@ namespace Renderer
|
||||||
display = EGL_NO_DISPLAY;
|
display = EGL_NO_DISPLAY;
|
||||||
surface = EGL_NO_SURFACE;
|
surface = EGL_NO_SURFACE;
|
||||||
context = EGL_NO_CONTEXT;
|
context = EGL_NO_CONTEXT;
|
||||||
|
|
||||||
|
SDL_FreeSurface(sdlScreen);
|
||||||
|
sdlScreen = NULL;
|
||||||
|
SDL_Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool init(int w, int h)
|
bool init(int w, int h)
|
||||||
|
|
Loading…
Reference in a new issue