openbsd-ports/games/quake2/patches/patch-src_gl_rmain_c
jsg 8879afdc8c Enable building of GLX and SDLGL renderers.
ok oga@, claudio@ (maintainer)
2008-05-25 02:54:58 +00:00

13 lines
624 B
Plaintext

$OpenBSD: patch-src_gl_rmain_c,v 1.1 2008/05/25 02:54:58 jsg Exp $
--- src/gl_rmain.c.orig Sat May 24 21:12:32 2008
+++ src/gl_rmain.c Sat May 24 21:13:27 2008
@@ -1060,7 +1060,7 @@ void R_Register( void )
#ifdef _WIN32
gl_driver = ri.Cvar_Get( "gl_driver", "opengl32", CVAR_ARCHIVE );
#else
- gl_driver = ri.Cvar_Get( "gl_driver", "libGL.so.1", CVAR_ARCHIVE );
+ gl_driver = ri.Cvar_Get( "gl_driver", "libGL.so", CVAR_ARCHIVE );
#endif
gl_texturemode = ri.Cvar_Get( "gl_texturemode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE );
gl_texturealphamode = ri.Cvar_Get( "gl_texturealphamode", "default", CVAR_ARCHIVE );