diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-12-07 00:59:35 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-12-07 00:59:35 +0000 |
commit | 9f569a394b9c8dbc7175ef9c7405aa8800f54d67 (patch) | |
tree | b15c5e594c25e8e54021c37ee09fb0e34355d091 /src | |
parent | 71c7ff06d8f4bbaa9e7b64b67abbcac5367f40fa (diff) | |
download | imv-9f569a394b9c8dbc7175ef9c7405aa8800f54d67.tar.gz |
Permit falling back to software renderer
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |