summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawsdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/drawsdl.c')
-rw-r--r--src/osd/modules/render/drawsdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/render/drawsdl.c b/src/osd/modules/render/drawsdl.c
index df979c35911..32753ef79b9 100644
--- a/src/osd/modules/render/drawsdl.c
+++ b/src/osd/modules/render/drawsdl.c
@@ -129,7 +129,7 @@ struct sdl_scale_mode
#if (!SDLMAME_SDL2)
int m_extra_flags; /* Texture/surface flags */
#else
- const char *sdl_scale_mode; /* what to use as a hint ? */
+ const char *sdl_scale_mode_hint; /* what to use as a hint ? */
#endif
int pixel_format; /* Pixel/Overlay format */
void (*yuv_blit)(const UINT16 *bitmap, UINT8 *ptr, const int pitch, const UINT32 *lookup, const int width, const int height);
@@ -435,7 +435,7 @@ int sdl_info::create()
// create renderer
/* set hints ... */
- SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, sm->sdl_scale_mode);
+ SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, sm->sdl_scale_mode_hint);
if (video_config.waitvsync)