http://bugs.winehq.org/show_bug.cgi?id=60437 Bug ID: 60437 Summary: RiSCAN_PRO: OpenGL child window renders black since wine 11.16 Product: Wine Version: 11.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@list.winehq.org Reporter: pyro4hell+winehq@gmail.com Target Milestone: --- Distribution: --- Created attachment 82250 --> http://bugs.winehq.org/attachment.cgi?id=82250 Patch file with workaround starting with wine-11.16 the pointcloud viewer in RiSCAN PRO (commercial Windows only program https://www.riegl.com/en-usa/products/detail/riscan-pro ) only renders black screen. The viewer is using an OpenGL sub-window With wine-11.15 the view works perfectly. I got a `git bisect` and got the following commit out of it: ``` 5cbad47284b52c69b8f2f30c3786d00ae69823b8 is the first 'bad' commit commit 5cbad47284b52c69b8f2f30c3786d00ae69823b8 (HEAD) Author: Rémi Bernon <rbernon@codeweavers.com> Date: Wed Aug 19 16:19:33 2026 +0200 opengl32: Restore read and draw buffers when popping default FBOs. dlls/opengl32/unix_wgl.c | 28 ++++++++++++++++++++++------ include/wine/opengl_driver.h | 1 + 2 files changed, 23 insertions(+), 6 deletions(-) ``` I reverted the commit based on wine-11.16 and the viewer worked again. On wine-11.19 the revert didn't work, but I found a workaround by not drawing the default buffer if its content is 0 (see attached patch file). App: RiSCAN_PRO.exe 2.26 Steps to reproduce: - Open RiSCAN_PRO.exe - load project - open pointcloud - see black viewer instead of pointcloud GPU / driver: NVIDIA GeForce RTX 3060 with proprietary driver 615.71.09 Session: both X11 and Wayland OS: both Kubuntu 24.04 and CachyOS using Plasma Wine build: --enable-archs=i386,x86_64 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.