From 4aeb2fd95b304029f0beb66ea350b56ac882e703 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Thu, 26 Aug 2021 20:33:01 -0400 Subject: [PATCH] RIP Debian Buster, You Won't Be Missed --- Jenkinsfile | 19 ------------------- media-layer/core/CMakeLists.txt | 2 +- media-layer/core/src/media.c | 5 ++--- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c28b9253a..6072b6a39 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,24 +31,5 @@ pipeline { } } } - stage('Debian Buster') { - agent { - docker { - image 'debian:buster' - } - } - stages { - stage('Build') { - steps { - sh './scripts/ci/run.sh' - } - post { - success { - archiveArtifacts artifacts: 'out/*.deb', fingerprint: true - } - } - } - } - } } } diff --git a/media-layer/core/CMakeLists.txt b/media-layer/core/CMakeLists.txt index b54baa9fb..26a8af742 100644 --- a/media-layer/core/CMakeLists.txt +++ b/media-layer/core/CMakeLists.txt @@ -20,7 +20,7 @@ if(TARGET media-layer-core) target_link_libraries(media-layer-core media-layer-headers reborn-headers pthread dl) if(NOT MCPI_SERVER_MODE) # Find GLFW - find_package(glfw3 3.2 REQUIRED) + find_package(glfw3 3.3 REQUIRED) # Find FreeImage find_library(FREEIMAGE_LIBRARY NAMES freeimage libfreeimage.so.3 REQUIRED) # Not Needed In Server Mode diff --git a/media-layer/core/src/media.c b/media-layer/core/src/media.c index 183821aef..0ebc296b3 100644 --- a/media-layer/core/src/media.c +++ b/media-layer/core/src/media.c @@ -329,10 +329,9 @@ static void update_glfw_cursor() { // Handle Cursor Lock/Unlock if ((new_mode == GLFW_CURSOR_DISABLED && old_mode != GLFW_CURSOR_DISABLED) || (new_mode != GLFW_CURSOR_DISABLED && old_mode == GLFW_CURSOR_DISABLED)) { - // Use Raw Mouse Motion (GLFW 3.3+ Only) -#ifdef GLFW_RAW_MOUSE_MOTION + // Use Raw Mouse Motion glfwSetInputMode(glfw_window, GLFW_RAW_MOUSE_MOTION, new_mode == GLFW_CURSOR_DISABLED ? GLFW_TRUE : GLFW_FALSE); -#endif + // Reset Last Mouse Position ignore_relative_mouse = 1; }