fix a couple of warnings

This commit is contained in:
jgcodes2020 2023-10-24 12:20:31 -04:00
parent ab9cf8ba08
commit d0b91e22f4
2 changed files with 4 additions and 0 deletions

View File

@ -297,6 +297,8 @@ GLFWAPI GLFWwindow* glfwAttachWindow(intptr_t nativeWindow, GLFWwindow* share) {
if (!_glfw.platform.attachWindow(window, nativeWindow, &wndconfig, &ctxconfig, &fbconfig))
return NULL;
return (GLFWwindow*) window;
}
void glfwDefaultWindowHints(void) {

View File

@ -994,6 +994,8 @@ static GLFWbool attachNativeSurface(_GLFWwindow* window,
window->wl.transparent = fbconfig->transparent;
if (!window->wl.transparent)
setContentAreaOpaque(window);
return GLFW_TRUE;
}
static void setCursorImage(_GLFWwindow* window,