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

Bug#554962: Segmentation fault in glGetError



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.

Did you read this ?
  https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/318043
Many points have already been discussed there. See #12 and #13.

Thanks





Reply to: