freebsd-ports/games/gracer/files/patch-glbind.c
Eric Anholt 9a825162a7 Trivially unbreak gracer by fixing bad C code. Still has some visual issues.
Also, depend on tcl84 instead of tcl82 (maintainer).

PR:		ports/80634
Submitted by:	anholt
Approved by:	maintainer
2005-05-05 19:24:28 +00:00

29 lines
533 B
C

--- src/glbind.c.orig Wed May 4 18:45:48 2005
+++ src/glbind.c Wed May 4 18:46:20 2005
@@ -2147,8 +2147,6 @@
TCL_CHECK(Tcl_GetIntFromObj(interp, objv[2], &i), ERROR);
GL_CHECK(glLightModeli (pname, i));
return 3;
-
- default:
}
ERROR:
@@ -2886,8 +2884,6 @@
}
GL_CHECK(glTexEnvfv (GL_TEXTURE_ENV, pname, param));
return 6;
-
- default:
}
ERROR:
@@ -3078,8 +3074,6 @@
param[0] = d;
GL_CHECK(glTexParameterf (target, pname, param[0]));
return 4;
-
- default:
}
ERROR: