Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL plugins show up as red until resized #159

Open
unplugred opened this issue Dec 24, 2024 · 2 comments
Open

OpenGL plugins show up as red until resized #159

unplugred opened this issue Dec 24, 2024 · 2 comments

Comments

@unplugred
Copy link

JUCE version is 8.0.2 because opengl support is even more broken in 8.0.3+
B080EE04-6B2D-4D08-8AF3-5260168305E6
Nothing much to say, ui is just red.
Example of one such plugin that replicates the problem: https://github.com/unplugred/vsts/blob/main/plugins/mpaint/source/editor.cpp

@baconpaul
Copy link
Collaborator

Well we put the red there to find problems with paint and parenting and it seems we succeeded!

if you resize it works yeah? I wonder if theres some force-action-after-reparent we need. Or if we need to explicitly resize a child in OpenGL world.

@baconpaul
Copy link
Collaborator

It will be a few days until i can get to a windows box to test, by the way. But if you want to know where the red is it is here:

void paint(juce::Graphics &g) override { g.fillAll(juce::Colours::red); }

and that's the component which is the base component in the reparent hierarchy in the wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants