1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/examples
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
..
Assets Use getSiblingFile in more places 2024-11-20 10:10:35 +00:00
Audio CapabilityInquiryDemo: Adapt UI layout to narrow screens 2025-04-23 18:12:10 +02:00
CMake GuiApp: Remove redundant qualifications from identifiers 2024-12-02 17:20:42 +00:00
DemoRunner DemoRunner: Avoid attempting to nest OpenGL contexts 2025-05-19 13:30:27 +01:00
DSP Whitespace: Fix whitespace and line endings in cmake files 2024-11-05 17:56:39 +00:00
GUI Add LineSpacingDemo to show new GlyphArrangement option 2025-05-13 18:32:01 +02:00
Plugins AudioPluginDemo: Enable double-precision processing 2025-04-10 17:28:17 +01:00
Utilities Javascript: Move javascript implementation into a separate module 2024-11-07 09:53:10 +00:00
CMakeLists.txt Whitespace: Fix whitespace and line endings in cmake files 2024-11-05 17:56:39 +00:00