mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
Einen Hack für kaputte Mesa-Installationen
This commit is contained in:
parent
afce443234
commit
de3268494c
3 changed files with 12 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -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
6
README
|
@ -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.
|
||||||
|
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue