diff options
| author | raysan5 <raysan5@gmail.com> | 2019-08-27 12:22:54 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2019-08-27 12:22:54 +0200 |
| commit | 41732bebe8bd048cb44e5b6a24f8e2cbd8af7120 (patch) | |
| tree | b435ffdd6c25c1d16cb5693bdca13703940a5de8 /src | |
| parent | e2183f0b9968d9cbff0cce9db63dda2c5c96fb32 (diff) | |
| download | raylib-41732bebe8bd048cb44e5b6a24f8e2cbd8af7120.tar.gz raylib-41732bebe8bd048cb44e5b6a24f8e2cbd8af7120.zip | |
Formatting tweak
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 4 | ||||
| -rw-r--r-- | src/rlgl.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -4293,8 +4293,8 @@ static EM_BOOL EmscriptenGamepadCallback(int eventType, const EmscriptenGamepadE eventType != 0? emscripten_event_type_to_string(eventType) : "Gamepad state", gamepadEvent->timestamp, gamepadEvent->connected, gamepadEvent->index, gamepadEvent->numAxes, gamepadEvent->numButtons, gamepadEvent->id, gamepadEvent->mapping); - for(int i = 0; i < gamepadEvent->numAxes; ++i) TraceLog(LOG_DEBUG, "Axis %d: %g", i, gamepadEvent->axis[i]); - for(int i = 0; i < gamepadEvent->numButtons; ++i) TraceLog(LOG_DEBUG, "Button %d: Digital: %d, Analog: %g", i, gamepadEvent->digitalButton[i], gamepadEvent->analogButton[i]); + for (int i = 0; i < gamepadEvent->numAxes; ++i) TraceLog(LOG_DEBUG, "Axis %d: %g", i, gamepadEvent->axis[i]); + for (int i = 0; i < gamepadEvent->numButtons; ++i) TraceLog(LOG_DEBUG, "Button %d: Digital: %d, Analog: %g", i, gamepadEvent->digitalButton[i], gamepadEvent->analogButton[i]); */ if ((gamepadEvent->connected) && (gamepadEvent->index < MAX_GAMEPADS)) gamepadReady[gamepadEvent->index] = true; @@ -3024,7 +3024,7 @@ Shader LoadShaderCode(char *vsCode, char *fsCode) glGetProgramiv(shader.id, GL_ACTIVE_UNIFORMS, &uniformCount); - for(int i = 0; i < uniformCount; i++) + for (int i = 0; i < uniformCount; i++) { int namelen = -1; int num = -1; |
