UnloadMaterial can also optionally free textures and shader.
This commit is contained in:
@@ -286,7 +286,7 @@ local function drawPlayer()
|
||||
end
|
||||
|
||||
function RL.draw()
|
||||
RL.ClearBackground( RL.RED )
|
||||
RL.ClearBackground( RL.BLACK )
|
||||
|
||||
RL.BeginTextureMode( framebuffer )
|
||||
drawMap()
|
||||
|
||||
Reference in New Issue
Block a user