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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user