ati_mda_bug var
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2719 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -34,10 +34,12 @@ stripbatch stripbatches[256];
|
||||
uchar renderedtex[256];
|
||||
int renderedtexs = 0;
|
||||
|
||||
extern int ati_mda_bug;
|
||||
|
||||
#define RENDERSTRIPS(strips, type) \
|
||||
if(strips.first.length()) \
|
||||
{ \
|
||||
if(hasMDA) glMultiDrawArrays_(type, strips.first.getbuf(), strips.count.getbuf(), strips.first.length()); \
|
||||
if(hasMDA && !ati_mda_bug) glMultiDrawArrays_(type, strips.first.getbuf(), strips.count.getbuf(), strips.first.length()); \
|
||||
else loopv(strips.first) glDrawArrays(type, strips.first[i], strips.count[i]); \
|
||||
strips.first.setsizenodelete(0); \
|
||||
strips.count.setsizenodelete(0); \
|
||||
|
||||
Reference in New Issue
Block a user