RIP Debian Buster, You Won't Be Missed

This commit is contained in:
TheBrokenRail 2021-08-26 20:33:01 -04:00
parent c60fb51fae
commit 4aeb2fd95b
3 changed files with 3 additions and 23 deletions

19
Jenkinsfile vendored
View File

@ -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
}
}
}
}
}
} }
} }

View File

@ -20,7 +20,7 @@ if(TARGET media-layer-core)
target_link_libraries(media-layer-core media-layer-headers reborn-headers pthread dl) target_link_libraries(media-layer-core media-layer-headers reborn-headers pthread dl)
if(NOT MCPI_SERVER_MODE) if(NOT MCPI_SERVER_MODE)
# Find GLFW # Find GLFW
find_package(glfw3 3.2 REQUIRED) find_package(glfw3 3.3 REQUIRED)
# Find FreeImage # Find FreeImage
find_library(FREEIMAGE_LIBRARY NAMES freeimage libfreeimage.so.3 REQUIRED) find_library(FREEIMAGE_LIBRARY NAMES freeimage libfreeimage.so.3 REQUIRED)
# Not Needed In Server Mode # Not Needed In Server Mode

View File

@ -329,10 +329,9 @@ static void update_glfw_cursor() {
// Handle Cursor Lock/Unlock // 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)) { 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) // Use Raw Mouse Motion
#ifdef GLFW_RAW_MOUSE_MOTION
glfwSetInputMode(glfw_window, GLFW_RAW_MOUSE_MOTION, new_mode == GLFW_CURSOR_DISABLED ? GLFW_TRUE : GLFW_FALSE); glfwSetInputMode(glfw_window, GLFW_RAW_MOUSE_MOTION, new_mode == GLFW_CURSOR_DISABLED ? GLFW_TRUE : GLFW_FALSE);
#endif
// Reset Last Mouse Position // Reset Last Mouse Position
ignore_relative_mouse = 1; ignore_relative_mouse = 1;
} }