rcore.c : typo and cancel premature change merge
This commit is contained in:
parent
df62c800fa
commit
02666be096
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user