added window icon support for wayland

This commit is contained in:
SrS2225a 2024-12-29 21:17:32 -08:00
parent 46bcba7594
commit 4310bbb1ea

View File

@ -99,6 +99,7 @@ namespace backend {
glfwWindowHint(GLFW_CLIENT_API, OPENGL_VERSIONS_IS_ES[i] ? GLFW_OPENGL_ES_API : GLFW_OPENGL_API);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, OPENGL_VERSIONS_MAJOR[i]);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, OPENGL_VERSIONS_MINOR[i]);
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "SDR++");
// Create window with graphics context
monitor = glfwGetPrimaryMonitor();