projects
/
mercenary-reloaded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9637e6c
)
Ignore OpenGL VBLANK setting, if fail
author
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 5 Apr 2018 15:58:22 +0000
(17:58 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 5 Apr 2018 16:01:59 +0000
(18:01 +0200)
src/libsdl/sdl.c
patch
|
blob
|
history
diff --git
a/src/libsdl/sdl.c
b/src/libsdl/sdl.c
index
c2d1dfa
..
bc19158
100644
(file)
--- a/
src/libsdl/sdl.c
+++ b/
src/libsdl/sdl.c
@@
-111,7
+111,7
@@
int init_sdl(const char *progname, int width, int height, int sound_samplerate,
rc = SDL_GL_SetSwapInterval(1);
if (rc < 0) {
print_error("Failed to set SDL's OpenGL swap interval to VBLANK\n");
- goto error;
+ // continue anyway
}
#ifndef __APPLE__