From 02666be096291be4c406e8e6f214474b51addeda Mon Sep 17 00:00:00 2001 From: SuperUserNameMan <9801802+SuperUserNameMan@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:20:56 +0200 Subject: [PATCH] `rcore.c` : typo and cancel premature change merge --- src/rcore.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index 0dafd820f..428625ab1 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -639,12 +639,7 @@ void InitWindow(int width, int height, const char *title) // Initialize platform //-------------------------------------------------------------- - if ( InitPlatform() != 0 ) - { - TRACELOG(LOG_ERROR, "Platform backend: Window initialization failed."); - CORE.Window.ready = false; - return; - } + InitPlatform(); //-------------------------------------------------------------- // Initialize rlgl default data (buffers and shaders) @@ -3511,7 +3506,7 @@ static void RecordAutomationEvent(void) currentEventList->events[currentEventList->count].frame = CORE.Time.frameCounter; currentEventList->events[currentEventList->count].type = INPUT_MOUSE_WHEEL_MOTION; currentEventList->events[currentEventList->count].params[0] = (int)CORE.Input.Mouse.currentWheelMove.x; - currentEventList->events[currentEventList->count].params[1] = (int)CORE.Input.Mouse.currentWheelMove.y;; + currentEventList->events[currentEventList->count].params[1] = (int)CORE.Input.Mouse.currentWheelMove.y; currentEventList->events[currentEventList->count].params[2] = 0; TRACELOG(LOG_INFO, "AUTOMATION: Frame: %i | Event type: INPUT_MOUSE_WHEEL_MOTION | Event parameters: %i, %i, %i", currentEventList->events[currentEventList->count].frame, currentEventList->events[currentEventList->count].params[0], currentEventList->events[currentEventList->count].params[1], currentEventList->events[currentEventList->count].params[2]);