start porting frame streams

This commit is contained in:
2024-09-27 13:26:18 +02:00
parent 3bdf262068
commit b899b8131e
8 changed files with 446 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ int main(int argc, char** argv) {
// setup hints
#ifndef __ANDROID__
if (SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1") != SDL_TRUE) {
if (!SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1")) {
std::cerr << "Failed to set '" << SDL_HINT_VIDEO_ALLOW_SCREENSAVER << "' to 1\n";
}
#endif