Re: [GtkGLExt] Gdk::GL::Config::create crash
- From: "Timothy M. Shead" <tshead k-3d com>
- To: Philipp Klaus Krause <pkk spth de>
- Cc: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] Gdk::GL::Config::create crash
- Date: Sat, 20 May 2006 08:34:03 -0600
On Sat, 2006-05-20 at 16:06 +0200, Philipp Klaus Krause wrote:
> My program crashes on
>
> Glib::RefPtr<Gdk::GL::Config> glconfig;
> glconfig = Gdk::GL::Config::create(Gdk::GL::MODE_RGB |
> Gdk::GL::MODE_DEPTH | Gdk::GL::MODE_DOUBLE);
>
> with a X error
>
> The error was 'BadColor (invalid Colormap parameter)'.
> (Details: serial 296 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.)
>
> It worked before, but I'm not sure what I changed to trigger the problem
> (I modiefied the program a bit and updated my X server).
I'd suspect the server at this point - run glxinfo to see if you
actually have any OpenGL-enabled visuals.
Cheers,
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]