From b8b83e52a24ef79049b3e70d59972e2b34e98876 Mon Sep 17 00:00:00 2001 From: "Alejandro V. Garcia" Date: Thu, 9 Feb 2012 08:18:01 +0000 Subject: [PATCH] Restore orthd calculation git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6755 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/rendergl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/rendergl.cpp b/source/src/rendergl.cpp index 1f4fb628..6e2ef84b 100644 --- a/source/src/rendergl.cpp +++ b/source/src/rendergl.cpp @@ -802,7 +802,7 @@ void drawminimap(int w, int h) camera1->o.z = mapdims[7] + 1; camera1->pitch = -90; camera1->yaw = 0; - int orthd = gdim/2; + int orthd = 2 + gdim/2; glViewport(2, 2, size-4, size-4); // !not wsize here glClearDepth(0.0); glClearColor(0, 0, 0, 0);