10 Commits (d673db30921969eaa6c1424f9b2978a84dbfbf0f)

Author SHA1 Message Date
ocornut e858d229a0 Examples: update all examples with same comment (#389) 9 years ago
ocornut 11d91a27a4 Carriage return (#289) 9 years ago
Jonathan Adamczewski f158617551 Show SDL error message on init failure 9 years ago
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.
9 years ago
ocornut 4842ac3bc6 Fonts: added Cousine-Regular.ttf 9 years ago
ocornut 0224d29a35 Examples: comments. 9 years ago
ocornut 1845ff4690 SDL example: tweaks (#233 #226) 9 years ago
ocornut 22e099366f SDL example: further cleanup to match other examples (#233 #226) 9 years ago
ocornut 4167528001 SDL example: moved event loop to main.cpp , adding page up/page down. (#226) 9 years ago
ocornut b7a2a6b23f SDL example: renamed folder, added in README 9 years ago