aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 62d6b97..19ed0f9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -193,6 +193,11 @@ main(int argc, char **argv)
return EXIT_FAILURE;
}
+#if DEFAULT_SDL_FLAGS & SDL_HWSURFACE
+ if (!(screen->flags & SDL_HWSURFACE))
+ fprintf(stderr, "Warning: Hardware surfaces not available!\n");
+#endif
+
SDL_ShowCursor(show_cursor);
osc_server.open(port);