Commit Graph

10 Commits (e58f99179aa3e8fa78e783f772c31ee23d40863d)

Author SHA1 Message Date
Thomas Pöchtrager 3604aecf8f Minor Windows adjustments
Daniel Gibson b7d1b91e4b Use ImGuiIO::AddInputCharactersUTF8() in SDL2 example
Now Unicode text input works in this example.
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.
ocornut 60dd221737 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut 1845ff4690 SDL example: tweaks ( )
ocornut b7e63c163c SDL example: update for indexed rendering.
ocornut a14f6696a3 SDL example: more cleanup to match other examples ( )
ocornut 22e099366f SDL example: further cleanup to match other examples ( )
ocornut 4167528001 SDL example: moved event loop to main.cpp , adding page up/page down. ()
ocornut b7a2a6b23f SDL example: renamed folder, added in README