change texture2d to texture

This commit is contained in:
CrackedPixel 2024-08-07 19:42:06 -05:00
commit 1c829e7b81

View file

@ -30,7 +30,7 @@ int main(void)
InitAudioDevice(); // Initialize audio device
Sound fxButton = LoadSound("resources/buttonfx.wav"); // Load button sound
Texture2D button = LoadTexture("resources/button.png"); // Load button texture
Texture button = LoadTexture("resources/button.png"); // Load button texture
// Define frame rectangle for drawing
float frameHeight = (float)button.height/NUM_FRAMES;