Add render size

This commit is contained in:
Rosendo Martinez 2026-04-26 17:50:18 -05:00
parent d72238cc81
commit 2549629515
2 changed files with 4 additions and 2 deletions

View File

@ -129,8 +129,10 @@ int main(void)
DrawTexturePro(target.texture, sourceRec, destRec, origin, 0.0f, WHITE);
}
DrawText(TextFormat("Smooth: %s", (smoothOn ? "ON" : "OFF")), 10, 10, 20, RED);
DrawText(TextFormat("Overscan: %s", (overscan ? "ON" : "OFF")), 10, 30, 20, RED);
DrawText(TextFormat("Screen resolution: %ix%i", screenWidth, screenHeight), 10, 10, 20, DARKBLUE);
DrawText(TextFormat("World resolution: %ix%i", virtualScreenWidth, virtualScreenHeight), 10, 40, 20, DARKGREEN);
DrawText(TextFormat("Smooth: %s", (smoothOn ? "ON" : "OFF")), 10, screenHeight - 60, 20, RED);
DrawText(TextFormat("Overscan: %s", (overscan ? "ON" : "OFF")), 10, screenHeight - 30, 20, RED);
DrawFPS(GetScreenWidth() - 95, 10);
EndDrawing();
//----------------------------------------------------------------------------------

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB