diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index ffbbc6668..e3078dacf 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -100,7 +100,7 @@ #include // Required for: usleep() //#define GLFW_EXPOSE_NATIVE_COCOA // WARNING: Fails due to type redefinition - void *glfwGetCocoaWindow(GLFWwindow* handle); + void *glfwGetCocoaWindow(GLFWwindow *handle); #include "GLFW/glfw3native.h" // Required for: glfwGetCocoaWindow() #endif @@ -224,8 +224,8 @@ void ToggleFullscreen(void) if (FLAG_IS_SET(CORE.Window.flags, FLAG_WINDOW_HIGHDPI)) { Vector2 scaleDpi = GetWindowScaleDPI(); - CORE.Window.screen.width = (unsigned int)(CORE.Window.screen.width * scaleDpi.x); - CORE.Window.screen.height = (unsigned int)(CORE.Window.screen.height * scaleDpi.y); + CORE.Window.screen.width = (unsigned int)(CORE.Window.screen.width*scaleDpi.x); + CORE.Window.screen.height = (unsigned int)(CORE.Window.screen.height*scaleDpi.y); } #endif @@ -303,8 +303,8 @@ void ToggleBorderlessWindowed(void) if (FLAG_IS_SET(CORE.Window.flags, FLAG_WINDOW_HIGHDPI)) { Vector2 scaleDpi = GetWindowScaleDPI(); - CORE.Window.screen.width = (unsigned int)(CORE.Window.screen.width * scaleDpi.x); - CORE.Window.screen.height = (unsigned int)(CORE.Window.screen.height * scaleDpi.y); + CORE.Window.screen.width = (unsigned int)(CORE.Window.screen.width*scaleDpi.x); + CORE.Window.screen.height = (unsigned int)(CORE.Window.screen.height*scaleDpi.y); } #endif diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c index 45bb30c65..66a917da2 100644 --- a/src/platforms/rcore_desktop_sdl.c +++ b/src/platforms/rcore_desktop_sdl.c @@ -323,7 +323,7 @@ Uint8 SDL_EventState(Uint32 type, int state) return stateBefore; } -void SDL_GetCurrentDisplayMode_Adapter(SDL_DisplayID displayID, SDL_DisplayMode* mode) +void SDL_GetCurrentDisplayMode_Adapter(SDL_DisplayID displayID, SDL_DisplayMode *mode) { const SDL_DisplayMode *currentMode = SDL_GetCurrentDisplayMode(displayID); diff --git a/src/rmodels.c b/src/rmodels.c index 26fc7bcf8..2988dfaba 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -6517,7 +6517,7 @@ static ModelAnimation *LoadModelAnimationsGLTF(const char *fileName, int *animCo }; } - Transform* root = &animations[i].framePoses[j][0]; + Transform *root = &animations[i].framePoses[j][0]; root->rotation = QuaternionMultiply(worldTransform.rotation, root->rotation); root->scale = Vector3Multiply(root->scale, worldTransform.scale); root->translation = Vector3Multiply(root->translation, worldTransform.scale); diff --git a/src/rtextures.c b/src/rtextures.c index a57f9037d..1aced0533 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -3625,7 +3625,7 @@ void ImageDrawLineEx(Image *dst, Vector2 start, Vector2 end, int thick, Color co } // Draw circle within an image -void ImageDrawCircle(Image* dst, int centerX, int centerY, int radius, Color color) +void ImageDrawCircle(Image *dst, int centerX, int centerY, int radius, Color color) { int x = 0; int y = radius; @@ -3649,7 +3649,7 @@ void ImageDrawCircle(Image* dst, int centerX, int centerY, int radius, Color col } // Draw circle within an image (Vector version) -void ImageDrawCircleV(Image* dst, Vector2 center, int radius, Color color) +void ImageDrawCircleV(Image *dst, Vector2 center, int radius, Color color) { ImageDrawCircle(dst, (int)center.x, (int)center.y, radius, color); } diff --git a/tools/rlparser/rlparser.c b/tools/rlparser/rlparser.c index c291c3038..899ba7db6 100644 --- a/tools/rlparser/rlparser.c +++ b/tools/rlparser/rlparser.c @@ -198,7 +198,7 @@ static void ExportParsedData(const char *fileName, int format); // Export parsed //---------------------------------------------------------------------------------- // Program main entry point //---------------------------------------------------------------------------------- -int main(int argc, char* argv[]) +int main(int argc, char *argv[]) { if (argc > 1) ProcessCommandLine(argc, argv);