openGL invalid drawable

Discussion and support for general JUCE issues

openGL invalid drawable

Postby aaronleese » Fri Jul 16, 2010 4:55 am

So this is strange. When I run the juce demo, the openGL portion seems to work perfectly ..... but looking at the console I see:

JuceDemo[1595:a0f] invalid drawable

Also, getAvailablePixelFormats() returns 0.
OpenGL is extremely new to me, so perhaps this is all to be expected ?
It does work ..... that is, I see the 3d rotating cube. But what's with the errors?
Last edited by aaronleese on Sat Jul 17, 2010 6:01 pm, edited 1 time in total.
User avatar
aaronleese
JUCE UberWeenie
 
Posts: 282
Joined: Thu Feb 05, 2009 6:52 pm
Location: San Francisco, CA

Re: openGL invalid drawable

Postby jules » Fri Jul 16, 2010 4:40 pm

Probably just some internal GL message, I doubt if it's anything worth worrying about.
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: openGL invalid drawable

Postby aaronleese » Fri Jul 16, 2010 7:40 pm

Yeah, it hasn't held me up yet. Just thought you should be aware of it.
User avatar
aaronleese
JUCE UberWeenie
 
Posts: 282
Joined: Thu Feb 05, 2009 6:52 pm
Location: San Francisco, CA

Re: openGL invalid drawable

Postby MusicMan3001 » Mon Jan 23, 2012 11:46 pm

I'm getting this message in the Release version of my code. I don't really care, but is there a way to disable it so you can't see it when you run the app from the Terminal?
MusicMan3001
JUCE UberWeenie
 
Posts: 115
Joined: Fri Nov 28, 2008 4:29 am

Re: openGL invalid drawable

Postby MusicMan3001 » Mon Mar 26, 2012 7:35 pm

Anyone? Would really like to not have this message show up.
Thanks.
MusicMan3001
JUCE UberWeenie
 
Posts: 115
Joined: Fri Nov 28, 2008 4:29 am

Re: openGL invalid drawable

Postby jules » Mon Mar 26, 2012 7:58 pm

I'm going to release the completely rewritten GL classes in the next day or two..
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK

Re: openGL invalid drawable

Postby lilin » Mon Mar 26, 2012 11:55 pm

"invalid drawable"

Was it on osx ?

It is a very generic error, but I remember I had the same problem with a bad use of cocoa windowing and opengl.
(dont remember exactly, but was related on NSView not attached to window).
lilin
JUCE Weenie
 
Posts: 16
Joined: Mon Dec 12, 2011 4:24 pm

Re: openGL invalid drawable

Postby Frongo » Thu Jan 17, 2013 8:19 pm

This is happening when the OS X NativeContext's destructor calls [renderContext setView: nil];

The fix for this was found some time ago: http://www.rawmaterialsoftware.com/viewtopic.php?f=4&t=4645

I guess a [renderContext clearDrawable] call was put in to replace it but the [renderContext setView: nil] call was never taken out?
Frongo
JUCE Geek
 
Posts: 35
Joined: Wed Sep 21, 2011 5:01 pm


Return to General JUCE discussion

Who is online

Users browsing this forum: andi, Google [Bot], Google Feedfetcher and 0 guests