freebsd-ports/games/tenebrae/files/patch-gl_common.c
Alejandro Pulver dc044fd8e7 - Fix mouse problems.
- Fix sound problems.
- Fix building on !i386.
- Fix writting personal configuration, and do it in ~/.tenebrae, to avoid
  conflicts with other engines since they usually have different variables.
- Use USE_DOS2UNIX.
- Remove unneeded information from pkg-message (it depends on quake-data so it
  will be installed automatically, also quake-data installs the demo so
  tenebrae is playable after installation).
- Use release target instead of the debug one.
- Clean-up.

PR:		ports/98783
Approved by:	maintainer (timeout)
2006-06-17 21:32:32 +00:00

16 lines
668 B
C

--- ./gl_common.c.orig Sat Jun 10 12:08:13 2006
+++ ./gl_common.c Sat Jun 10 12:08:13 2006
@@ -248,11 +248,11 @@
if (!strstr(gl_extensions, "GL_ARB_texture_env_dot3")) {
Sys_Error ("ARB_texture_env_dot3 not found.\nProbably your 3d-card is not supported.\n");
}
-
+#if 0
if (!strstr(gl_extensions, "GL_ARB_texture_cube_map")) {
Sys_Error ("ARB_texture_cube_map not found.\nProbably your 3d-card is not supported.\n");
}
-
+#endif
//Just spit a warning user prob has gl-1.2 or something
if (!strstr(gl_extensions, "GL_SGI_texture_edge_clamp") &&
!strstr(gl_extensions, "GL_EXT_texture_edge_clamp")) {