1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/examples/DemoRunner
reuk b15b65decf
DemoRunner: Avoid attempting to nest OpenGL contexts
OpenGL contexts normally can't be nested. Previously, when the main
renderer for the DemoRunner was set to OpenGL, we would forcibly reset
the engine to the software renderer when displaying any heavyweight
demo, including the OpenGL demos.

19061e6d introduced a regression, where the rendering engine was no
longer reset on Windows, so displaying an OpenGL demo while the global
renderer was also set to OpenGL would cause an assertion to fire in the
OpenGL Graphics context, after which rendering would fail.

With this change in place, we now fall back to the Direct2D renderer,
instead of the software renderer, when displaying a heavyweight demo.
2025-05-19 13:30:27 +01:00
..
Builds Projucer (Android): Update default toolchain versions 2025-05-19 11:33:23 +01:00
JuceLibraryCode DemoRunner: Add CapabilityInquiryDemo 2025-04-10 17:28:17 +01:00
Source DemoRunner: Avoid attempting to nest OpenGL contexts 2025-05-19 13:30:27 +01:00
CMakeLists.txt DemoRunner: Add CapabilityInquiryDemo 2025-04-10 17:28:17 +01:00
DemoRunner.jucer DemoRunner: Add CapabilityInquiryDemo 2025-04-10 17:28:17 +01:00