mirror of https://github.com/snes9xgit/snes9x.git
win32: reset texture size vars on deinit and creation
This commit is contained in:
parent
9a78a04a90
commit
ec5980b1af
|
@ -212,6 +212,8 @@ COpenGL::COpenGL(void)
|
|||
initDone = false;
|
||||
afterRenderWidth = 0;
|
||||
afterRenderHeight = 0;
|
||||
outTextureWidth = 0;
|
||||
outTextureHeight = 0;
|
||||
fullscreen = false;
|
||||
shaderFunctionsLoaded = false;
|
||||
shader_type = OGL_SHADER_NONE;
|
||||
|
@ -333,9 +335,10 @@ void COpenGL::DeInitialize()
|
|||
hDC = NULL;
|
||||
}
|
||||
hWnd = NULL;
|
||||
initDone = false;
|
||||
afterRenderWidth = 0;
|
||||
afterRenderHeight = 0;
|
||||
outTextureWidth = 0;
|
||||
outTextureHeight = 0;
|
||||
shaderFunctionsLoaded = false;
|
||||
shader_type = OGL_SHADER_NONE;
|
||||
if (glslShader) {
|
||||
|
|
Loading…
Reference in New Issue