2 Commits (e7f1e28b6b1a4e8c0b0d1554b10be4f74cad925d)

Author SHA1 Message Date
Daniel Gibson 02a0967243 Fix SDL2-example for Linux
The header is called "SDL_opengl.h" - case matters on Linux.

The main() function must indeed be called main(), on Windows it'll be
renamed to SDL_main (for SDL2main.lib) by #define in SDL_main.h
(which is included by SDL.h)

I added an entry to the example's README that describes how to build
it on Linux.
10 years ago
ocornut e49977a913 SDL example: hasty readme. 10 years ago