mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 06:13:10 +00:00
Update core_viewport_scaling.c
This commit is contained in:
parent
9ff87b38b8
commit
6adb1c2704
@ -92,7 +92,7 @@ int main(void)
|
||||
enum ViewportType viewportType = KEEP_ASPECT_INTEGER;
|
||||
|
||||
SetConfigFlags(FLAG_WINDOW_RESIZABLE);
|
||||
InitWindow(screenWidth, screenHeight, "raylib [core] example - Viewport Scaling");
|
||||
InitWindow(screenWidth, screenHeight, "raylib [core] example - viewport scaling");
|
||||
ResizeRenderSize(viewportType, &screenWidth, &screenHeight, gameWidth, gameHeight, &sourceRect, &destRect, &target);
|
||||
|
||||
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user