summaryrefslogtreecommitdiff
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorjussi2024-05-10 11:13:32 +0300
committerjussi2024-05-10 11:13:32 +0300
commite84be852546aecf3e151fd8bb92db88a068c1ea1 (patch)
tree388913b5eeac14bd9d00a38dbe7ba4459a553f5f /src/rlgl.c
parentb3980ae2a5d6beae75462e5204fc97841ec62aff (diff)
downloadreilua-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.c12
1 files changed, 6 insertions, 6 deletions
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;