SDL/src/video/raspberry
Ryan C. Gordon 167398b363 video: Let video targets optionally decide their default OpenGL configs.
This is necessary because the Raspberry Pi is a strange beast, that believes
it has OpenGL support (through glX?) but generally has GLES2 support.

So when using the raspberry video target, we need to force this to default
to a GLES2 context, or by default SDL_CreateWindow() will fail, deep down
when it tries to load the proper GL library.

Fixes testsprite2 (and basically everything else that wasn't testgles2) when
run on a Raspberry Pi without a X server.

Please note that other targets might also need this filled in, the Raspberry
Pi is just the most prominent and readily-available System-On-A-Chip style
thing on my desk.  :)
2017-09-02 19:35:32 -04:00
..
SDL_rpievents.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpievents_c.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_rpimouse.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rpimouse.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_rpiopengles.c video: Let video targets optionally decide their default OpenGL configs. 2017-09-02 19:35:32 -04:00
SDL_rpiopengles.h video: Let video targets optionally decide their default OpenGL configs. 2017-09-02 19:35:32 -04:00
SDL_rpivideo.c video: Let video targets optionally decide their default OpenGL configs. 2017-09-02 19:35:32 -04:00
SDL_rpivideo.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00