summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/sdl/drawogl.c10
-rw-r--r--src/osd/sdl/drawsdl.c2
-rw-r--r--src/osd/sdl/window.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/osd/sdl/drawogl.c b/src/osd/sdl/drawogl.c
index 0fa53cadda6..59dfb6f5400 100644
--- a/src/osd/sdl/drawogl.c
+++ b/src/osd/sdl/drawogl.c
@@ -2091,21 +2091,21 @@ static int texture_shader_create(sdl_window_info *window,
*
* Shape the lut texture to achieve texture max size compliance and equal 2D partitioning
*/
-
+
if ( texture->format == SDL_TEXFORMAT_PALETTE16 )
{
lut_texture_width = sqrt((double)(texture->lut_table_width));
lut_texture_width = get_valid_pow2_value (lut_texture_width, 1);
-
+
texture->lut_table_height = texture->lut_table_width / lut_texture_width;
-
+
if ( lut_texture_width*texture->lut_table_height < texture->lut_table_width )
{
texture->lut_table_height += 1;
}
-
+
texture->lut_table_width = lut_texture_width;
- }
+ }
else
{
lut_texture_width = texture->lut_table_width;
diff --git a/src/osd/sdl/drawsdl.c b/src/osd/sdl/drawsdl.c
index fdb600360e9..28694a000a6 100644
--- a/src/osd/sdl/drawsdl.c
+++ b/src/osd/sdl/drawsdl.c
@@ -89,7 +89,7 @@ struct _sdl_scale_mode
#if (!SDL_VERSION_ATLEAST(1,3,0))
int extra_flags; /* Texture/surface flags */
#else
- //SDL_ScaleMode sdl_scale_mode; /* sdl 1.3 scale mode */
+ //SDL_ScaleMode sdl_scale_mode; /* sdl 1.3 scale mode */
int sdl_scale_mode; /* got removed recently - trying to get it in again */
#endif
int pixel_format; /* Pixel/Overlay format */
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h
index 80a4b21a2af..f1c8b41a5c0 100644
--- a/src/osd/sdl/window.h
+++ b/src/osd/sdl/window.h
@@ -96,7 +96,7 @@ struct _sdl_window_info
#if (SDL_VERSION_ATLEAST(1,3,0))
// Needs to be here as well so we can identify window
SDL_Window *sdl_window;
- SDL_Renderer *sdl_renderer;
+ SDL_Renderer *sdl_renderer;
// These are used in combine resizing events ... #if SDL13_COMBINE_RESIZE
int resize_width;
int resize_height;