reverting attempted bug workaround

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3752 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-11-25 05:00:28 +00:00
parent ccd21deb78
commit daf3f5f090
+1 -1
View File
@@ -525,7 +525,7 @@ struct vertmodel : model
loopi(numdyndraws)
{
const drawcall &d = dyndraws[i];
if(hasDRE && !builddlist) glDrawRangeElements_(d.type, d.minvert, d.maxvert, d.count, GL_UNSIGNED_SHORT, &dynidx[d.start]);
if(hasDRE) glDrawRangeElements_(d.type, d.minvert, d.maxvert, d.count, GL_UNSIGNED_SHORT, &dynidx[d.start]);
else glDrawElements(d.type, d.count, GL_UNSIGNED_SHORT, &dynidx[d.start]);
}
if(builddlist)