diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-24 14:55:11 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-24 14:55:11 +0400 |
commit | a9a2c19c1fdd6c18977304e95fdacf4b3e0d9101 (patch) | |
tree | 9de6e547e33da95b81024056d638d08fd9ac86a5 /source/blender/src/renderwin.c | |
parent | 5d3ddc842cf416d1bb96d3ab09fc17fa5ebd62a4 (diff) |
Bugfix #4436
RenderWindow redraws (after rendering) was still using GL_FLOAT. Replaced
it with the faster glaDrawPixelsSafe_to32() call. Stupid ATIs! :)
Diffstat (limited to 'source/blender/src/renderwin.c')
-rw-r--r-- | source/blender/src/renderwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/renderwin.c b/source/blender/src/renderwin.c index 72072e16cf3..6790bca70a6 100644 --- a/source/blender/src/renderwin.c +++ b/source/blender/src/renderwin.c @@ -373,7 +373,7 @@ static void renderwin_draw(RenderWin *rw, int just_clear) if(rres.rect32) glaDrawPixelsSafe(fullrect[0][0], fullrect[0][1], rres.rectx, rres.recty, rres.rectx, GL_RGBA, GL_UNSIGNED_BYTE, rres.rect32); else if(rres.rectf) - glaDrawPixelsSafe(fullrect[0][0], fullrect[0][1], rres.rectx, rres.recty, rres.rectx, GL_RGBA, GL_FLOAT, rres.rectf); + glaDrawPixelsSafe_to32(fullrect[0][0], fullrect[0][1], rres.rectx, rres.recty, rres.rectx, rres.rectf); } glPixelZoom(1.0, 1.0); } |