[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#554962: Segmentation fault in glGetError

On Fri, Nov 13, 2009 at 10:50:16 +0100, Xavier Glattard wrote:

> Michel Dänzer a écrit :
> >This code looks buggy: All GL functions including glGetError require a
> >(GLX in this case) context to be bound (otherwise IIRC the OpenGL spec
> >says behaviour is undefined). glGetError() isn't meaningful for GLX
> >functions like glXCreateWindow() anyway.
> I agree about the wrong use of glGetError (and try to fix it), but
> it should not segfault.
"behaviour is undefined" very much includes the possibility of
segfaulting the program, afaict.


Reply to: