Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Antialiasign causes crash for me
08-30-2008, 02:18 PM,
#1
Antialiasign causes crash for me
When I compile and run VDrift refactor branch I get the following error


Quote:nathan@gamma:~/Documenten/bronnen/vdrift-branch$ ./build/vdrift
Multi-processor system detected. Run with -multithreaded argument to enable multithreading.
Starting VDrift: 2008-08-30-full, 2123
Home directory: /home/nathan
Settings file: /home/nathan/.vdrift/VDrift.config
Data directory: data
SDL initialization successful
SDL video query was successful
Display change failed: 800x600x16 24z fullscreen=0
Error: Couldn't find matching GLX visual
vdrift: src/graphics.cpp:176: void GRAPHICS_SDLGL::ChangeDisplay(int, int, int, int, bool, unsigned int, std::ostream&, std::ostream&): Assertion `0' failed.
Afgebroken (core dumped)

Commenting out line 142 (
Code:
SDL_GL_SetAttribute( SDL_GL_MULTISAMPLESAMPLES, fsaa );
Fixes the problem.

Probably this isn't possible on some (intel) graphics cards.
Reply
09-01-2008, 02:09 PM,
#2
 
Thanks for the report. I'm probably missing a check for antialiasing capability.
Reply
10-21-2008, 12:17 PM,
#3
 
Should be fixed in the trunk R2183.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)