change rendertexture2d to rendertexture
This commit is contained in:
parent
97c02b2425
commit
8b3d166e39
1 changed files with 32 additions and 32 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue