15 Commits (30c04d0dbefb89822840b6dc71d43490fb14150c)

Author SHA1 Message Date
ocornut 1612ca071b Examples: SDL: Initialize video+timer subsystem only. 9 years ago
ocornut 7661b1e778 Trim trailing spaces 9 years ago
ocornut 9e86d0e225 Examples: SDL/OpenGL: Tabs to spaces 9 years ago
ocornut 94ec3d534e Examples: Header comments. 9 years ago
ocornut 5c52e9ec0d Examples: Clarified comments. Removed font merging example from comments. 9 years ago
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