[fixed]Linux OpenGL/Segmentation fault

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
loverlinfish
Posts: 7
Joined: Thu Aug 06, 2009 8:38 am

[fixed]Linux OpenGL/Segmentation fault

Post by loverlinfish »

linux debain
kernel 2.6.26-2-686
mesa 7.0.3-7

COpenGLDriver.cpp
#if defined(GL_ARB_provoking_vertex) || defined(GL_EXT_provoking_vertex)
extGlProvokingVertex(GL_FIRST_VERTEX_CONVENTION_EXT);
#endif
system printf : Segmentation fault

I change to
#if defined(GL_FIRST_VERTEX_CONVENTION_EXT)
glEnable(GL_FIRST_VERTEX_CONVENTION_EXT);
#endif
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You must not call glEnable with this value. I've added a support string check in the glx method, but besides that everything should be correct.
Post Reply