diff options
Diffstat (limited to 'Ports/c-ray/patches/set-sdl-software-renderer.patch')
-rw-r--r-- | Ports/c-ray/patches/set-sdl-software-renderer.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Ports/c-ray/patches/set-sdl-software-renderer.patch b/Ports/c-ray/patches/set-sdl-software-renderer.patch new file mode 100644 index 0000000000..7b7899c0fe --- /dev/null +++ b/Ports/c-ray/patches/set-sdl-software-renderer.patch @@ -0,0 +1,13 @@ +diff --git a/src/utils/ui.c b/src/utils/ui.c +index afcb4fc..3713b87 100644 +--- a/src/utils/ui.c ++++ b/src/utils/ui.c +@@ -63,7 +63,7 @@ int initSDL(struct display *d) { + return -1; + } + //Init renderer +- d->renderer = SDL_CreateRenderer(d->window, -1, SDL_RENDERER_ACCELERATED); ++ d->renderer = SDL_CreateRenderer(d->window, -1, SDL_RENDERER_SOFTWARE); + if (d->renderer == NULL) { + logr(warning, "Renderer couldn't be created, error: \"%s\"\n", SDL_GetError()); + return -1; |