summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/drawogl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/drawogl.c')
-rw-r--r--src/osd/sdl/drawogl.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/osd/sdl/drawogl.c b/src/osd/sdl/drawogl.c
index 15825e00dfc..3315c9cd9cf 100644
--- a/src/osd/sdl/drawogl.c
+++ b/src/osd/sdl/drawogl.c
@@ -1331,16 +1331,8 @@ int sdl_info_ogl::draw(UINT32 dc, int update)
{
int ch, cw;
- if ((window().fullscreen()) && (!video_config.switchres))
- {
- ch = window().monitor()->center_height();
- cw = window().monitor()->center_width();
- }
- else
- {
- ch = m_height;
- cw = m_width;
- }
+ ch = m_height;
+ cw = m_width;
if (video_config.centerv)
{