Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-11-13 00:14:30 +0300
committerTon Roosendaal <ton@blender.org>2003-11-13 00:14:30 +0300
commit1c8ae70249a1576b60fe2875f29f2ba0340dc287 (patch)
treeb487c274ced2bae7e7a3a41908b4ac9664b812df /source/blender/src/drawtext.c
parente9d9a7282eaf15e09698d5fc7d2ef9f4badeaaae (diff)
- further cleanup of window matrix code. Now ALL 2d ortho calls are
using an identical offset; which is 0.375 and official recommended by OpenGL. This to further investigate the AA font errors on some systems with ATI cards.
Diffstat (limited to 'source/blender/src/drawtext.c')
-rw-r--r--source/blender/src/drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c
index 63006bef32e..0a7e1ed15bc 100644
--- a/source/blender/src/drawtext.c
+++ b/source/blender/src/drawtext.c
@@ -552,7 +552,7 @@ void drawtextspace(ScrArea *sa, void *spacedata)
BIF_GetThemeColor3fv(TH_BACK, col);
glClearColor(col[0], col[1], col[2], 0.0);
glClear(GL_COLOR_BUFFER_BIT);
- myortho2(-0.5, (float)(sa->winx)-.05, -0.5, (float)(sa->winy)-0.5);
+ myortho2(-0.5, (float)(sa->winx)-0.5, -0.5, (float)(sa->winy)-0.5);
draw_area_emboss(sa);