forked from SM64-TAS-ABC/STROOP
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
"Popout" windows created in the map tab do not render any content and may corrupt the rendering of the main map tab.
To Reproduce
Steps to reproduce the behavior:
- Launch STROOP
- Connect to an emulator or bypass
- Open the Map Tab
- Right click on the main window's map panel and select
Open Popout - Resize the opened window a couple of times to be smaller than the main window's map panel
- Drag the view in the main window's map panel
- Experience potential epilepsy from corrupted rendering (most likely framebuffer swapping shenanigans).
Used Versions:
- STROOP Version: 0.7.1
- Emulator: mupen64
- Emulator Version: Irrelevant
- OS: Windows 10
Additional context
The issue appears to be related to context sharing and buffer swapping in OpenGL, particularly using OpenTK.GLControl.
These resources may be helpful in an attempt to fix the issue:
- Multiple GL Controls opentk/GLControl#31
- https://github.com/opentk/GLControl/tree/master/OpenTK.GLControl.MultiControlTest
It may also be worth trying out a previous version of the OpenTK.Control and OpenTK NuGet packages pre 4.0, respectively (if possible), to see if the buggy behavior stems from a change between these package versions.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working