mirror of
https://github.com/holub/mame
synced 2025-10-08 01:28:00 +03:00
SDL: fix GCC 4.9 + Clang compiles (nw)
This commit is contained in:
parent
abff2df161
commit
228980b852
@ -659,7 +659,7 @@ void sdl_info::clear()
|
|||||||
|
|
||||||
int sdl_info::xy_to_render_target(int x, int y, int *xt, int *yt)
|
int sdl_info::xy_to_render_target(int x, int y, int *xt, int *yt)
|
||||||
{
|
{
|
||||||
const sdl_scale_mode *sm = &scale_modes[video_config.scale_mode];
|
// const sdl_scale_mode *sm = &scale_modes[video_config.scale_mode];
|
||||||
|
|
||||||
*xt = x - m_last_hofs;
|
*xt = x - m_last_hofs;
|
||||||
*yt = y - m_last_vofs;
|
*yt = y - m_last_vofs;
|
||||||
|
Loading…
Reference in New Issue
Block a user