mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
fix Wayland window transparency
https://github.com/glfw/glfw/issues/1434
This commit is contained in:
parent
a4f83c55a6
commit
b424bb4881
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user