mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Fix for issue #3073
This commit is contained in:
@@ -779,7 +779,7 @@ Bitu OUTPUT_OPENGL_SetSize()
|
||||
}
|
||||
#endif
|
||||
|
||||
if (sdl.desktop.fullscreen&&sdl_opengl.use_shader)
|
||||
if (sdl_opengl.use_shader)
|
||||
glViewport((sdl.surface->w-sdl.clip.w)/2,(sdl.surface->h-sdl.clip.h)/2,sdl.clip.w,sdl.clip.h);
|
||||
else
|
||||
glViewport(0, 0, sdl.surface->w, sdl.surface->h);
|
||||
|
Reference in New Issue
Block a user