1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00
JUCE/modules/juce_opengl/native
reuk 735f99418c
OpenGL: Ensure window repainting messages are emitted correctly on Windows
This fixes an issue introduced in
340f531c71 where embedded OpenGL windows
would incorrectly have the WS_EX_LAYERED style bit set, which in turn
prevented them from displaying correctly.

Before the window-transparency refactoring, OpenGL windows would not
have the layered bit set because only peers with windowIsSemiTransparent
were created with the layered bit, and the layered bit was only updated
if the peer alpha was changed.

The new behaviour is to always set WS_EX_LAYERED if the peer's component
is non-opaque with no titlebar, or if the component has an alpha < 1.0f.
The OpenGLContext's placeholder component has no titlebar, so it must be
opaque in order to avoid setting the layered style bit.
2024-09-05 12:14:54 +01:00
..
java/app/com/rmsl/juce Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_android.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_ios.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_linux.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_OpenGL_mac.h Platform: Remove compatibility checks for macOS 10.10 2024-07-02 18:06:27 +01:00
juce_OpenGL_windows.h OpenGL: Ensure window repainting messages are emitted correctly on Windows 2024-09-05 12:14:54 +01:00
juce_OpenGLExtensions.h Update licensing information 2024-04-16 11:39:35 +01:00