Use SCREEN_WIDTH/HEIGHT instead of SDL_RendererGetViewport(), as logical coordinates...
authorIngo Ruhnke <grumbel@gmail.com>
Thu, 31 Jul 2014 19:43:44 +0000 (21:43 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Thu, 31 Jul 2014 19:43:44 +0000 (21:43 +0200)
commitd3414c1920bb735fc6cec95238aa71053ca5cbe4
tree6d9e7f4d0faa3fce76ff1783d6863d72a700d3ad
parent5f950f0b503117520486ac0cf5145c81923c335b
Use SCREEN_WIDTH/HEIGHT instead of SDL_RendererGetViewport(), as logical coordinates might be different then physical
src/video/sdl/sdl_painter.cpp