I have an issue with the OpenGLContext::attachTo method.
As soon as I use it, I get a blackscreen and my app crashes a few seconds after. Note that I’ve the same issue on iOS (it’s crashes after a few seconds, often immediately)
Here’s the code I used (based on an empty introjucer project):
[code]
MainAppWindow::MainAppWindow()
: DocumentWindow (JUCEApplication::getInstance()->getApplicationName(),
Colours::lightgrey,
0)
{
setOpaque(true);
setTitleBarHeight(0);
setFullScreen(true);
setVisible (true);
openGLContext.setComponentPaintingEnabled(true);
openGLContext.attachTo(*this);
}[/code]
Edit : I’m testing with an Android 2.2 device (and on iOS 6)