From 1e58f551bbfb6a8ef4d83292685d7c3672385c8b Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 9 May 2023 23:48:09 +0300 Subject: UnloadTexture did not set texture id to NULL. --- src/core.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index a0ea6ce..11feb35 100644 --- a/src/core.c +++ b/src/core.c @@ -1251,7 +1251,6 @@ int lcoreSetShaderValueTexture( lua_State *L ) { lua_pushboolean( L, false ); return 1; } - // SetShaderValueTexture( *state->shaders[ shaderId ], locIndex, *state->textures[ textureId ] ); SetShaderValueTexture( *state->shaders[ shaderId ], locIndex, *texturesGetSourceTexture( textureId ) ); lua_pushboolean( L, true ); -- cgit v1.2.3