Einen Hack für kaputte Mesa-Installationen

This commit is contained in:
Yamagi Burmeister 2009-10-06 15:17:45 +00:00
parent afce443234
commit de3268494c
3 changed files with 12 additions and 1 deletions

View file

@ -58,7 +58,10 @@ endif
# Optimizations # Optimizations
# ~25% - 30% perfomance gain, but may not # ~25% - 30% perfomance gain, but may not
# work on all CPUs. Adjust to your needs # work on all CPUs. Adjust to your needs
# CFLAFS_BASE += -mmmx -msse -msse2 -msse3 -m3dnow # CFLAGS_BASE += -mmmx -msse -msse2 -msse3 -m3dnow
# Uncomment this if your Mesa3D is broken
# CFLAGS_BASE += -DBROKEN_MESA
# OGG/Vorbis # OGG/Vorbis
OGGCFLAGS = -I/usr/include -I/usr/local/include OGGCFLAGS = -I/usr/include -I/usr/local/include

6
README
View file

@ -250,4 +250,10 @@ When playing in window mode my is locked onto the window. Can I change
that, e.g. that Quake II is behaving like a normal window? that, e.g. that Quake II is behaving like a normal window?
- Set "_windowed_mouse" to 0. - Set "_windowed_mouse" to 0.
Hey, the game renders unplayable slow but my OpenGL is working?!
- If you're using Mesa 7.0, 7.1, 7.2 or 7.3 thats a known bug of
Mesa3D. It's fixed in 7.4 and above. Please update your Mesa3D. If
that's not possible, open the Makefile in your favorite editor,
uncomment line 64 and rebuild.
=============================================================================== ===============================================================================

View file

@ -1168,6 +1168,7 @@ int R_Init( void *hinstance, void *hWnd )
ri.Con_Printf( PRINT_ALL, "...GL_EXT_compiled_vertex_array not found\n" ); ri.Con_Printf( PRINT_ALL, "...GL_EXT_compiled_vertex_array not found\n" );
} }
#ifndef BROKEN_MESA
if ( strstr( gl_config.extensions_string, "GL_EXT_point_parameters" ) ) if ( strstr( gl_config.extensions_string, "GL_EXT_point_parameters" ) )
{ {
if ( gl_ext_pointparameters->value ) if ( gl_ext_pointparameters->value )
@ -1185,6 +1186,7 @@ int R_Init( void *hinstance, void *hWnd )
{ {
ri.Con_Printf( PRINT_ALL, "...GL_EXT_point_parameters not found\n" ); ri.Con_Printf( PRINT_ALL, "...GL_EXT_point_parameters not found\n" );
} }
#endif
GL_SetDefaultState(); GL_SetDefaultState();