Skip to content

Commit

Permalink
build: compatibility nonsense for old distros
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatos committed Sep 28, 2024
1 parent 50716b6 commit 8e68934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ dt_gui_win_init(dt_gui_win_t *win)
int ht = 3*mode->height/4;
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE);
glfwWindowHint(GLFW_SCALE_FRAMEBUFFER, GLFW_TRUE);
// glfwWindowHint(GLFW_SCALE_FRAMEBUFFER, GLFW_TRUE);
glfwWindowHint(GLFW_COCOA_RETINA_FRAMEBUFFER, GLFW_TRUE); // this is for github's super ancient ubuntu glfw 3.3
glfwWindowHint(GLFW_DECORATED, GLFW_TRUE);
glfwWindowHintString(GLFW_X11_CLASS_NAME, "vkdt");
win->window = glfwCreateWindow(wd, ht, "vkdt", NULL, NULL);
Expand Down

0 comments on commit 8e68934

Please sign in to comment.