aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-12-07 00:59:35 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-12-07 00:59:35 +0000
commit9f569a394b9c8dbc7175ef9c7405aa8800f54d67 (patch)
treeb15c5e594c25e8e54021c37ee09fb0e34355d091 /src
parent71c7ff06d8f4bbaa9e7b64b67abbcac5367f40fa (diff)
downloadimv-9f569a394b9c8dbc7175ef9c7405aa8800f54d67.tar.gz
Permit falling back to software renderer
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 6e09339..870e33a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -230,8 +230,7 @@ int main(int argc, char** argv)
}
/* we'll use SDL's built-in renderer, hardware accelerated if possible */
- SDL_Renderer *renderer =
- SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);
+ SDL_Renderer *renderer = SDL_CreateRenderer(window, -1, 0);
if(!renderer) {
fprintf(stderr, "SDL Failed to create renderer: %s\n", SDL_GetError());
SDL_DestroyWindow(window);