From e84be852546aecf3e151fd8bb92db88a068c1ea1 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 10 May 2024 11:13:32 +0300 Subject: Indentation fix. --- src/rlgl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/rlgl.c') diff --git a/src/rlgl.c b/src/rlgl.c index 71f91c7..c18a171 100644 --- a/src/rlgl.c +++ b/src/rlgl.c @@ -1726,17 +1726,17 @@ int lrlglSetShader( lua_State* L ) { unsigned int id = (unsigned int)luaL_checkinteger( L, 1 ); int t = 2, i = 0; - lua_pushnil( L ); + lua_pushnil( L ); while ( lua_next( L, t ) != 0 ) { - if ( lua_isnumber( L, -1 ) ) { + if ( lua_isnumber( L, -1 ) ) { if ( i < RL_MAX_SHADER_LOCATIONS ) { state->RLGLcurrentShaderLocs[i] = lua_tointeger( L, -1 ); } - } - i++; - lua_pop( L, 1 ); - } + } + i++; + lua_pop( L, 1 ); + } rlSetShader( id, state->RLGLcurrentShaderLocs ); return 0; -- cgit v1.2.3