further improvement against radarimage edge-weirdness

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5482 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-07-30 18:32:25 +00:00
parent cd2c4bc85b
commit 4d407c7ba5
+1 -1
View File
@@ -747,7 +747,7 @@ void drawminimap(int w, int h)
camera1->o.z = 96 * dd;
camera1->pitch = -90;
camera1->yaw = 0;
int orthd = 2 + 2*dd + gdim/2; // +2-4 for clean border if map goes even to the edge.
int orthd = 4 /*+ 2*dd*/ + gdim/2; // +2-4 for clean border if map goes even to the edge. - ac_iceroad still has a bug though @ "2 + 2*dd +" - "4 +" seems better.
// this does not avoid possible data corruption on windowed runs :-/ - the issue seems to lie with the window lying outside the desktop edges - at least that was the case for me (flowtron)
glViewport(0, 0, size, size); // !not wsize here
glClearDepth(0.0);