Skip to content
Snippets Groups Projects
Commit 0447e2da authored by Michael Hamann's avatar Michael Hamann Committed by Oliver Smith
Browse files

Fix Makefile; replace surface by renderer API (#78)

* Makefile: fix compatibility with POSIX shell

* Do not use surface and render SDL2 API

According to https://wiki.libsdl.org/SDL_GetWindowSurface, it must not
be used when the rendering API is used (which is used in osk-sdl). Use
the render API instead of the surface API.

* Do not prefer software rendering

There is no need to use software rendering if hardware rendering is
available.
parent 61213816
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment