'BadDrawable' error

Linux specific forum
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

'BadDrawable' error

Post by wombats »

Hi,

I'm using an OpenGLGadget in my program. Everything works fine on Windows and OS X, but when I try to run it on Ubuntu, I get a "BadDrawable (invalid Pixmap or Window parameter)" error on this line:

Code: Select all

glClear_(#GL_COLOR_BUFFER_BIT | #GL_DEPTH_BUFFER_BIT)
Does anyone have any idea how I can fix this?

Thanks.
User avatar
idle
Always Here
Always Here
Posts: 5042
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: 'BadDrawable' error

Post by idle »

can you post a test case wombats?
Windows 11, Manjaro, Raspberry Pi OS
Image
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Re: 'BadDrawable' error

Post by wombats »

I've tried to reproduce it in an example, but it's not happening in the example. Do you know what kind of things could cause this error?
Post Reply