Forums
Antialiasign causes crash for me - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Antialiasign causes crash for me (/showthread.php?tid=990)



Antialiasign causes crash for me - FFuser - 08-30-2008

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.


- joevenzon - 09-01-2008

Thanks for the report. I'm probably missing a check for antialiasing capability.


- joevenzon - 10-21-2008

Should be fixed in the trunk R2183.