From 5803ea448c4a53a6cb1b90215ab6fc358c6144a8 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 1 Oct 2019 06:14:42 +0000 Subject: [PATCH] missed one Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4262 --- src/gui/sdlmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index ad43f2d0..8ecc5711 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -239,7 +239,7 @@ SDL_Surface* SDL_SetVideoMode_Wrap(int width,int height,int bpp,Bit32u flags){ if ((flags & SDL_OPENGL)==0) SDL_FillRect(sdl.surface,NULL,SDL_MapRGB(sdl.surface->format,0,0,0)); else { - glClearColor (0.0, 0.0, 0.0, 1.0); + glClearColor (0.0f, 0.0f, 0.0f, 1.0f); glClear(GL_COLOR_BUFFER_BIT); SDL_GL_SwapBuffers(); }