Forums

Full Version: Antialiasign causes crash for me
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Thanks for the report. I'm probably missing a check for antialiasing capability.
Should be fixed in the trunk R2183.