summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2011-04-22 23:06:55 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2011-04-22 23:06:55 +0000
commit10e187e5c436b1fd285e5d97ace2afe12aeebeab (patch)
tree002d3e569f21850b3aea6df6979236dfb572a6f6 /src
parentabce9636ac511050a75ab30702fd35caa9ff593f (diff)
SDL: fix backwards texture rectangle option [AWJ]
Diffstat (limited to 'src')
-rw-r--r--src/osd/sdl/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/video.c b/src/osd/sdl/video.c
index b8dea72fd17..89b830821a0 100644
--- a/src/osd/sdl/video.c
+++ b/src/osd/sdl/video.c
@@ -691,7 +691,7 @@ static void extract_video_config(running_machine &machine)
// default to working video please
video_config.prefer16bpp_tex = 0;
video_config.forcepow2texture = options.gl_force_pow2_texture();
- video_config.allowtexturerect = options.gl_no_texture_rect();
+ video_config.allowtexturerect = !(options.gl_no_texture_rect());
video_config.vbo = options.gl_vbo();
video_config.pbo = options.gl_pbo();
video_config.glsl = options.gl_glsl();