XS brakes cause crash - skybon - 03-04-2012
Attempting to brake in XS will crash VDrift:
Code: ERROR: OpenGL error "invalid operation" during: void GLWrapper::drawGeometry(GLuint, GLuint):src/gl3v/glwrapper.cpp:152
vdrift: src/gl3v/glwrapper.cpp:654: bool GLWrapper::checkForOpenGLErrors(const char*, const char*, int) const: Assertion `!true' failed.
Crash is only reproducible when riding this car, tried several others and it worked ok. Using latest version from getdeb.net, Ubuntu 11.10 x86-64, GF GTX275, NVIDIA 280.13.
- NaN - 03-04-2012
https://github.com/VDrift/vdrift/issues/58
In data/cars/XS/XS.car remove the following lines to fix it:
Code: # optional lights
[light-brake-0]
position = -0.6, -2.1, 0.0
color = 0.8, 0.1, 0.1
radius = 1.5
[light-brake-1]
position = 0.6, -2.1, 0.0
color = 0.8, 0.1, 0.1
radius = 1.5
- joevenzon - 03-04-2012
I just pushed a change to the git repo to disable asserts for these types of simple OpenGL errors. I had those enabled when I was writing the renderer and forgot to turn them off. :oops:
- vdriftfan - 03-05-2012
Had the same issue in Win 7 x64. Thank for the fix. Problem isn't present in the stable release, just in the nightly.
|