Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XS brakes cause crash
03-04-2012, 08:29 AM,
#1
XS brakes cause crash
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.
Reply
03-04-2012, 03:14 PM,
#2
 
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
Reply
03-04-2012, 11:24 PM,
#3
 
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:
Reply
03-05-2012, 05:28 AM,
#4
 
Had the same issue in Win 7 x64. Thank for the fix. Problem isn't present in the stable release, just in the nightly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)