Merge commit '3a7f96fd99528968c39b5be81db067ca018d432b' into dev
This commit is contained in:
7
external/SDL/test/testsensor.c
vendored
7
external/SDL/test/testsensor.c
vendored
@@ -68,9 +68,6 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Enable standard application logging */
|
||||
SDL_SetLogPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
|
||||
|
||||
if (!SDLTest_CommonDefaultArgs(state, argc, argv)) {
|
||||
SDL_Quit();
|
||||
SDLTest_CommonDestroyState(state);
|
||||
@@ -111,7 +108,7 @@ int main(int argc, char **argv)
|
||||
SDL_Log("Opened %d sensors\n", num_opened);
|
||||
|
||||
if (num_opened > 0) {
|
||||
SDL_bool done = SDL_FALSE;
|
||||
bool done = false;
|
||||
SDL_Event event;
|
||||
|
||||
SDL_CreateWindow("Sensor Test", 0, 0, SDL_WINDOW_FULLSCREEN);
|
||||
@@ -128,7 +125,7 @@ int main(int argc, char **argv)
|
||||
case SDL_EVENT_MOUSE_BUTTON_UP:
|
||||
case SDL_EVENT_KEY_UP:
|
||||
case SDL_EVENT_QUIT:
|
||||
done = SDL_TRUE;
|
||||
done = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user