1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

fix Wayland window transparency

https://github.com/glfw/glfw/issues/1434
This commit is contained in:
Stone Tickle
2020-10-01 19:52:51 +09:00
parent a4f83c55a6
commit b424bb4881
+3 -1
View File
@@ -244,7 +244,9 @@ int main( int argc, char** argv )
// Setup window
glfwSetErrorCallback(glfw_error_callback);
if( !glfwInit() ) return 1;
#ifndef DISPLAY_SERVER_WAYLAND
#ifdef DISPLAY_SERVER_WAYLAND
glfwWindowHint(GLFW_ALPHA_BITS, 0);
#else
glfwWindowHint(GLFW_VISIBLE, 0);
#endif
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);