Removed scale step reduction as surface caching now works fine w/o it
anyway. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@878 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -19,8 +19,6 @@
|
|||||||
#include "starcon.h"
|
#include "starcon.h"
|
||||||
#include "libs/graphics/gfx_common.h"
|
#include "libs/graphics/gfx_common.h"
|
||||||
|
|
||||||
#define GSCALE_SHIFT 2 // controls the number of discrete scaling steps
|
|
||||||
|
|
||||||
COUNT DisplayFreeList;
|
COUNT DisplayFreeList;
|
||||||
PRIMITIVE DisplayArray[MAX_DISPLAY_PRIMS];
|
PRIMITIVE DisplayArray[MAX_DISPLAY_PRIMS];
|
||||||
extern POINT SpaceOrg;
|
extern POINT SpaceOrg;
|
||||||
@@ -1106,7 +1104,7 @@ if (clear)
|
|||||||
COUNT index, scale;
|
COUNT index, scale;
|
||||||
|
|
||||||
CALC_ZOOM_STUFF (&index, &scale);
|
CALC_ZOOM_STUFF (&index, &scale);
|
||||||
SetGraphicScale ((scale >> GSCALE_SHIFT) << GSCALE_SHIFT);
|
SetGraphicScale (scale);
|
||||||
}
|
}
|
||||||
DrawBatch (DisplayArray, DisplayLinks, 0);//BATCH_BUILD_PAGE);
|
DrawBatch (DisplayArray, DisplayLinks, 0);//BATCH_BUILD_PAGE);
|
||||||
SetGraphicScale (0);
|
SetGraphicScale (0);
|
||||||
|
|||||||
Reference in New Issue
Block a user