Commit c75a2b8e authored by Max Kobelt's avatar Max Kobelt
Browse files

Toggle fullscreen on pressing F11

parent 2eb93f1f
......@@ -9,6 +9,10 @@ int main() {
SetTargetFPS(60);
while (!WindowShouldClose()) {
if (IsKeyPressed(KEY_F11)) {
ToggleFullscreen();
}
BeginDrawing();
ClearBackground(RAYWHITE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment