From 341bb20dbdf0136dfac45357624fca530b1f7acc Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 7 Jan 2005 21:48:25 +0000 Subject: Should have done ages ago! This commit replaces the glDrawPixels and rectwrite_part with the very nice (thanks zr!) glaDrawPixelsSafe() call. Result is: - 3d window background image displays correctly onto the edges when zoomed in extreme - same for UV image window and sequence preview - preview render now doesnt disappear when left part is outside window (zr also deserves kick in butt for not doing this himself in NaN days!) Especially from preview drawing quite some old hacks were deleted. It is even quite some faster. Please notify me when it doesnt work on your card... this now is just 100% according opengl guidelines though :) Also fixes bug #2100 --- source/blender/include/BIF_drawimage.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/include/BIF_drawimage.h') diff --git a/source/blender/include/BIF_drawimage.h b/source/blender/include/BIF_drawimage.h index bc4b88f4b5d..cbd87fd9e6f 100644 --- a/source/blender/include/BIF_drawimage.h +++ b/source/blender/include/BIF_drawimage.h @@ -44,7 +44,6 @@ void image_changed(struct SpaceImage *sima, int dotile); void image_home(void); void image_viewmove(void); void image_viewzoom(unsigned short event); -void rectwrite_part(int winxmin, int winymin, int winxmax, int winymax, int x1, int y1, int xim, int yim, float zoomx, float zoomy, unsigned int *rect); void uvco_to_areaco(float *vec, short *mval); void uvco_to_areaco_noclip(float *vec, short *mval); void what_image(struct SpaceImage *sima); -- cgit v1.2.3