diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 1d88caa2..43872d0e 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -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);