win32: reset texture size vars on deinit and creation

This commit is contained in:
OV2 2018-05-24 15:49:05 +02:00
parent 9a78a04a90
commit ec5980b1af
1 changed files with 4 additions and 1 deletions

View File

@ -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) {