Merge remote-tracking branch 'origin' into 2015-07-cleanup

This commit is contained in:
ocornut
2015-08-01 22:12:51 -06:00
3 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,10 @@ int main(int, char**)
{
// Setup SDL
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
printf("Error: %s\n", SDL_GetError());
return -1;
}
// Setup window
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);