Hack to be able to build on Raspberry Pi.

This commit is contained in:
Leon Styhre 2021-07-08 18:08:43 +02:00
parent 9a53ad0463
commit 1c31a8a49e

View file

@ -18,7 +18,12 @@
#endif
#include <SDL2/SDL.h>
// Hack until shader support has been added for OpenGL ES.
#if defined(USE_OPENGL_21)
#include <SDL2/SDL_opengl.h>
#else
#include <SDL2/SDL_opengles.h>
#endif
#include <array>
#include <string>
#include <vector>