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>2005-01-08 00:48:25 +0300
committerTon Roosendaal <ton@blender.org>2005-01-08 00:48:25 +0300
commit341bb20dbdf0136dfac45357624fca530b1f7acc (patch)
tree52b984edc51c481048224dade0ababdaa3f49163 /source/blender/include/BIF_drawimage.h
parent8ff0209ca5f29eb0911d260f1f6b78f115dc7b70 (diff)
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
Diffstat (limited to 'source/blender/include/BIF_drawimage.h')
-rw-r--r--source/blender/include/BIF_drawimage.h1
1 files changed, 0 insertions, 1 deletions
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);