[GtkGLExt] widget in modal dialog
- From: Tobias Eberle <tobias eberle gmx de>
- To: gtkglext-list gnome org
- Subject: [GtkGLExt] widget in modal dialog
- Date: Tue, 16 Aug 2005 15:30:50 +0200
Hello,
in my application I have a mainwindow without opengl usage and a modal
dialog using an opengl widget. Starting the program and opening the
dialog works well, but if I close the dialog and open it again (it is a
new instance) or closing the whole program and start it again, I get the
following error message:
The program 'vvis' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadColor (invalid Colormap parameter)'.
(Details: serial 13445 error_code 12 request_code 1 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
I get this message if I start then other gtkglext apps, too.
I have to restart X to get rid of this message.
If I put the widget on the mainwindow too, everything works fine.
I figured out that the problem is related to Gdk::GL::Config::create().
I call this in the constructor of my widget. If I do this in the
mainwindow instead it works again :)
Can anyone tell my why this problem happens?
Bye, Tobias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]