Removed a fudge factor of .5

think it was an old opengl hack for something.

See for more info:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=3107

Also the person that should get credit for this is: chrish and meestaplu

Kent
This commit is contained in:
2004-03-02 18:50:54 +00:00
parent 6ed91ce2ed
commit 74680a07c0

View File

@@ -189,7 +189,7 @@ static void ui_paste_under(uiSaveUnder *su)
if(su) {
glDisable(GL_DITHER);
glRasterPos2f( su->x-0.5, su->y-0.5 );
glRasterPos2f( su->x, su->y );
glDrawPixels(su->sx, su->sy, GL_RGBA, GL_UNSIGNED_BYTE, su->rect);
glEnable(GL_DITHER);