summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/drawsdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/drawsdl.c')
-rw-r--r--src/osd/sdl/drawsdl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/osd/sdl/drawsdl.c b/src/osd/sdl/drawsdl.c
index 1c626696ce4..45ac54fa64b 100644
--- a/src/osd/sdl/drawsdl.c
+++ b/src/osd/sdl/drawsdl.c
@@ -434,11 +434,10 @@ static void drawsdl_show_info(struct SDL_RendererInfo *render_info)
int sdl_info::create()
{
-
#if (SDLMAME_SDL2)
const sdl_scale_mode *sm = &scale_modes[video_config.scale_mode];
- // create renderer
+ // create renderer
/* set hints ... */
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, sm->sdl_scale_mode);
@@ -500,7 +499,6 @@ int sdl_info::create()
void sdl_info::destroy()
{
-
// free the memory in the window
destroy_all_textures();
@@ -726,7 +724,7 @@ int sdl_info::draw(int update)
float fh = (float) mameheight / (float) blitheight;
// FIXME: this could be a lot easier if we get the primlist here!
- // Bounds would be set fit for purpose and done!
+ // Bounds would be set fit for purpose and done!
for (render_primitive *prim = window().m_primlist->first(); prim != NULL; prim = prim->next())
{