change rendertexture2d to rendertexture

This commit is contained in:
CrackedPixel 2024-08-07 20:43:16 -05:00
commit 8b3d166e39

View file

@ -57,8 +57,8 @@ int main(void)
bool showSaveMessage = false;
int saveMessageCounter = 0;
// Create a RenderTexture2D to use as a canvas
RenderTexture2D target = LoadRenderTexture(screenWidth, screenHeight);
// Create a RenderTexture to use as a canvas
RenderTexture target = LoadRenderTexture(screenWidth, screenHeight);
// Clear render texture before entering the game loop
BeginTextureMode(target);