From 836c9d1d0005c32714c89b3adecbb232472b494a Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 18 Feb 2024 19:46:50 +0200 Subject: Pointer variable declaration style change. --- src/state.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index 716bf4e..a3d5b20 100644 --- a/src/state.c +++ b/src/state.c @@ -6,7 +6,7 @@ State *state; -bool stateInit( int argn, const char **argc, const char *exePath ) { +bool stateInit( int argn, const char** argc, const char* exePath ) { state = malloc( sizeof( State ) ); state->exePath = malloc( STRING_LEN * sizeof( char ) ); @@ -32,7 +32,7 @@ bool stateInit( int argn, const char **argc, const char *exePath ) { state->defaultMaterial = LoadMaterialDefault(); state->defaultTexture = (Texture){ 1, 1, 1, 1, 7 }; state->RLGLcurrentShaderLocs = malloc( RL_MAX_SHADER_LOCATIONS * sizeof( int ) ); - int *defaultShaderLocs = rlGetShaderLocsDefault(); + int* defaultShaderLocs = rlGetShaderLocsDefault(); for ( int i = 0; i < RL_MAX_SHADER_LOCATIONS; i++ ) { state->RLGLcurrentShaderLocs[i] = defaultShaderLocs[i]; @@ -45,7 +45,7 @@ bool stateInit( int argn, const char **argc, const char *exePath ) { return state->run; } -void stateInitInterpret( int argn, const char **argc ) { +void stateInitInterpret( int argn, const char** argc ) { state = malloc( sizeof( State ) ); luaInit( argn, argc ); } -- cgit v1.2.3