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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user