[GtkGLExt] BadColor
- From: Bryan Green <bgreen nas nasa gov>
- To: gtkglext-list gnome org
- Subject: [GtkGLExt] BadColor
- Date: Fri, 22 Dec 2006 16:56:15 -0800
I am seeing a problem where my application gets a "BadColor" X Window System
error, and exits. I can make the problem go away with the
'--gdk-gl-no-standard-colormap' option.
It does depend on what GL visual I request. But it also doesn't happen
consistently: I have to run a program many times before the error starts
occuring, and then it occurs consistently until I shutdown and restart X.
Now that I've restarted X, I'm having trouble reproducing it, but I've seen it
many times in the past, ever since I started using gtkglext.
It apparently has something to do with the 'XmuLookupStandardColormap()' call.
Any ideas what is happening here? I'm starting to just put the following in
my code to be safe, but its a kludge:
putenv("GDK_GL_NO_STANDARD_COLORMAP=1");
gdk_gl_init(&argc, &argv);
-bryan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]