Variable primitives at function R_DrawCel(), file tr_shade.c was not declared at the beginning of the function. This strict C compiler wasn't happy :P

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@20 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
This commit is contained in:
gmiranda 2006-07-20 18:35:23 +00:00
parent 195ee1fd6e
commit 09a0d67e50
2 changed files with 4 additions and 21 deletions

View File

@ -197,7 +197,8 @@ static void R_DrawElements( int numIndexes, const glIndex_t *indexes ) {
}
static void R_DrawCel( int numIndexes, const glIndex_t *indexes ) {
int primitives;
if(
//. ignore the 2d projection. do i smell the HUD?
(backEnd.projection2D == qtrue) ||
@ -208,12 +209,10 @@ static void R_DrawCel( int numIndexes, const glIndex_t *indexes ) {
//. ignore things that are two sided, meaning mostly things that have transparency. SEE NOTE #1.
(tess.shader->cullType == CT_TWO_SIDED)
) {
return;
) {
return;
}
int primitives;
primitives = r_primitives->integer;
// default is to use triangles if compiled vertex arrays are present

View File

@ -1,16 +0,0 @@
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: Splines - Win32 Release--------------------
</h3>
<h3>Command Lines</h3>
<h3>Results</h3>
Splines.lib - 0 error(s), 0 warning(s)
</pre>
</body>
</html>