diff options
| author | jussi | 2024-05-10 11:13:32 +0300 |
|---|---|---|
| committer | jussi | 2024-05-10 11:13:32 +0300 |
| commit | e84be852546aecf3e151fd8bb92db88a068c1ea1 (patch) | |
| tree | 388913b5eeac14bd9d00a38dbe7ba4459a553f5f /src/rlgl.c | |
| parent | b3980ae2a5d6beae75462e5204fc97841ec62aff (diff) | |
| download | reilua-enhanced-e84be852546aecf3e151fd8bb92db88a068c1ea1.tar.gz reilua-enhanced-e84be852546aecf3e151fd8bb92db88a068c1ea1.tar.bz2 reilua-enhanced-e84be852546aecf3e151fd8bb92db88a068c1ea1.zip | |
Indentation fix.
Diffstat (limited to 'src/rlgl.c')
| -rw-r--r-- | src/rlgl.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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; |
