UnloadMaterial can also optionally free textures and shader.

This commit is contained in:
jussi
2024-09-25 20:54:32 +03:00
parent cd6471d339
commit 45e11be96a
10 changed files with 42 additions and 33 deletions

View File

@@ -286,7 +286,7 @@ local function drawPlayer()
end
function RL.draw()
RL.ClearBackground( RL.RED )
RL.ClearBackground( RL.BLACK )
RL.BeginTextureMode( framebuffer )
drawMap()