Transparent OpenGL windows

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
surefireframe
Newbie
Newbie
Posts: 1
Joined: Mon Aug 19, 2024 5:53 am

Transparent OpenGL windows

Post by surefireframe »

Problem:

Hi, I'm programming an application using Dear ImGUI with an OpenGL backend. I can compile this C++ program for Linux and the transparent window shows completely fine. However, when cross-compiling this for Windows and running it using wine my 'transparent' background is just black instead. My terminal is also filled with the following errors over and over again, but the app functionality is basically fine (apart from the aforementioned window colour):

Code: Select all

014c:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2016 WGL Attribute
014c:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2018 WGL Attribute
014c:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 201a WGL Attribute
014c:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 201c WGL Attribute
I also get these exact same errors when running a simple OpenGL program I cross-compiled for myself.

Further information:

My wine version is 9.1 and I'm running this on Fedora 39 using Wayland.
Locked