System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00
Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-10-15 21:02, hash: rBba8233174cd7
Worked: 2.90.1
This is probably an issue with rBf12b0373f322: BGL: Workaround broken bgl usage caused by GPU refactor -- it started being an issue with rBd39043b5ae05: Revert "Revert "BGL: Workaround broken bgl usage caused by GPU refactor"" again
Short description of error
If a GizmoGroup is 2D (doesn't have '3D' in bl_options), any glEnable/glDisable calls during dizmo drawing will result in the glitch (at least for me, the 3D viewport turns black, and the navigation gizmos lose their text/icons).
Exact steps for others to reproduce the error
- Open the default scene in Blender 2.91
- Run the attached script (it will register a gizmo for Light objects)
- Select the light
- The 3D viewport will turn black

