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]);