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.
1 parent 3ff04c9 commit 02a09672434295b657274edba8969a1d4ca3f18d
@Daniel Gibson Daniel Gibson authored on 15 Jul 2015
Showing 3 changed files
View
examples/sdl_opengl_example/README.md
View
examples/sdl_opengl_example/imgui_impl_sdl.cpp
View
examples/sdl_opengl_example/main.cpp