Drawing with OpenGLContext and OpenGLRenderer


#1

Hello,

I am just facing some weird things.
I have attached OpenGLContext instance to TopLevelComponent as same as Juce demo did.
And also I made some components implementing OpenGLRenderer in order to draw with shaders and textures.
But now it shows white blank for the components with OpenGLRenderer.
Here is the screenshot.
Please help me to resolve this issue.

This screenshot is the piece of whole window.

Thanks.


#2

Need help with this…


#3

Hello, is anybody here who can give me answers?


#4

It’s impossible to know what’s going on without more details and your code. In the JUCE demo, there are a few OpenGL instructions that you need to put at the end of the render function to allow the JUCE components to be properly displayed, your problem might be something like that.