aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authornathansmith117 <nathansmith117@sdf.org>2025-02-10 13:18:18 +0000
committernathansmith117 <nathansmith117@sdf.org>2025-02-10 13:18:18 +0000
commitdb6e56cab84f004d8cee833b197d0cfc52014cd4 (patch)
treebbb53dfb0216aa87eabc5e24b6a2c0a81fa6251f /src
parentb04d5702719eca30a95d1db2a927b6605ebd3477 (diff)
downloadsldj-db6e56cab84f004d8cee833b197d0cfc52014cd4.tar.gz
sldj-db6e56cab84f004d8cee833b197d0cfc52014cd4.tar.bz2
sldj-db6e56cab84f004d8cee833b197d0cfc52014cd4.zip
Playing around with faster random numbers
Diffstat (limited to 'src')
-rw-r--r--src/sldj.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sldj.c b/src/sldj.c
index a3e5d1d..f8c1817 100644
--- a/src/sldj.c
+++ b/src/sldj.c
@@ -54,14 +54,13 @@ void updateSldj(Sldj* sldj)
DrawTexturePro(
viewport,
(Rectangle){0.0, 0.0, viewport.width, viewport.height},
- (Rectangle){0.0, 0.0, GetScreenWidth(), GetScreenHeight()},
+ (Rectangle){0.0, 0.0, viewport.width, viewport.height},
(Vector2){0.0, 0.0},
0.0,
WHITE
);
- DrawFPS(0, 0);
- //SetWindowTitle(TextFormat("Scanline DJ %dfps", GetFPS()));
+ DrawFPS(0, viewport.height);
if (IsKeyPressed(KEY_R))
{