Le vendredi 20 janvier 2006 à 12:00 +0100, Roberto Huelga a écrit :
> 
> On 1/20/06, Jean Bréfort <[EMAIL PROTECTED]> wrote:
>         Le vendredi 20 janvier 2006 à 11:09 +0100, Roberto Huelga a
>         écrit :
>         > This sample doesn't work on win32, but it should on
>         GNU/linux,
>         > what's your system, version, and gtk version?
>         
>         (gentoo linux for amd64, gtk+- 2.8.10)
>         
>         I found the problem. Seems that the depth is 16, not 24.
>         Thanks for all.
> 
> You are right I should use gdk_gl_config_get_depth, instead of hard
> code it as 24.
>  
> 
>         (And in my program, I used a GdkGLConfig with
>         GDK_GL_MODE_DOUBLE mode,
>         which does not work for pixmaps (why should it work?)).
> 
> With the GDK_GL_MODE_DOUBLE activate I don't get any error, but I only
> receive trash from the pixmap.

I was wrong. My problem came from a missing glEndList call (I do not
understand why this one is necessary, since I never create a GLList).
Nevertheless, things now work, thanks.



_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list

Reply via email to