Skip to content

Commit

Permalink
Merge branch 'PojavLauncherTeam:v3_openjdk' into v3_zink_freedreno
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 authored Aug 20, 2023
2 parents 432c6ea + b282d9c commit ab0ffef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app_pojavlauncher/src/main/jni/input_bridge_v3.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdatomic.h>
#include <math.h>

#include "log.h"
#include "utils.h"
Expand Down Expand Up @@ -139,7 +140,8 @@ void pojavPumpEvents(void* window) {
if((pojav_environ->cLastX != pojav_environ->cursorX || pojav_environ->cLastY != pojav_environ->cursorY) && pojav_environ->GLFW_invoke_CursorPos) {
pojav_environ->cLastX = pojav_environ->cursorX;
pojav_environ->cLastY = pojav_environ->cursorY;
pojav_environ->GLFW_invoke_CursorPos(window, pojav_environ->cursorX, pojav_environ->cursorY);
pojav_environ->GLFW_invoke_CursorPos(window, floor(pojav_environ->cursorX),
floor(pojav_environ->cursorY));
}

// The out target index is updated by the rewinder
Expand Down

0 comments on commit ab0ffef

Please sign in to comment.