Page 1 of 1

'BadDrawable' error

Posted: Wed May 17, 2017 3:00 am
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.

Re: 'BadDrawable' error

Posted: Sun Jun 04, 2017 9:02 am
by idle
can you post a test case wombats?

Re: 'BadDrawable' error

Posted: Mon Jun 05, 2017 9:00 pm
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?