![]() On some systems SDL_SetVideoMode resets OpenGL context, dropping the screen texture and leading to glTexSubimage2D failure when using the --opengl-2d switch. Attached patch reinitialized OpenGL after window resize. This is a forward port of Jakub Higersberger patch at #2839785. This fix the broken resize with cli frontend reported in #3195218. |
||
---|---|---|
desmume | ||
tools |