mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-07 14:29:40 +00:00
Examples: SDL: Initialize video+timer subsystem only.
This commit is contained in:
parent
006934fd15
commit
1612ca071b
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
int main(int, char**)
|
||||
{
|
||||
// Setup SDL
|
||||
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
|
||||
if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER) != 0)
|
||||
{
|
||||
printf("Error: %s\n", SDL_GetError());
|
||||
return -1;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
int main(int, char**)
|
||||
{
|
||||
// Setup SDL
|
||||
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
|
||||
if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER) != 0)
|
||||
{
|
||||
printf("Error: %s\n", SDL_GetError());
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue