1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
JUCE/modules/juce_opengl
reuk a3f81eb2fb
OpenGL: Correctly restore blend mode when nested context goes out-of-scope
Fixes an issue where primitives such as text could end up with sharp
edges when creating temporary contexts:

    void paint (Graphics& g)
    {
        g.fillAll (Colours::white);
        const auto preferredType = g.getInternalContext().getPreferredImageTypeForTemporaryImages();
        Image img (Image::ARGB, getWidth(), getHeight(), false, *preferredType);
        {
            Graphics g2 (img);
        }
        g.setColour (Colours::black);
        g.setFont (32);
        g.drawText ("test", getLocalBounds(), Justification::centred);
    }
2025-11-14 13:36:03 +00:00
..
geometry Update licensing information 2024-04-16 11:39:35 +01:00
native Android: Update bytecode minimum version requirements 2025-09-17 12:50:06 +01:00
opengl OpenGL: Correctly restore blend mode when nested context goes out-of-scope 2025-11-14 13:36:03 +00:00
utils Update licensing information 2024-04-16 11:39:35 +01:00
juce_opengl.cpp OpenGLFrameBuffer: Refactor to move stored OpenGLContext out of TransientState 2025-07-09 11:24:43 +01:00
juce_opengl.h Bump version number to 8.0.10 2025-09-15 09:30:11 +01:00
juce_opengl.mm Update licensing information 2024-04-16 11:39:35 +01:00