diff options
author | Ton Roosendaal <ton@blender.org> | 2005-01-03 16:13:40 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-01-03 16:13:40 +0300 |
commit | 2b1923d2248c5039b844633aa536355a7dcd207a (patch) | |
tree | 975bb91e592b1b63e1070eb934b3531930821483 /source/blender/render/intern/include/zbuf.h | |
parent | 1927dfa24119501919d96af8aa6ce9ebbf03ecd0 (diff) |
Small fixes;
- zbuf; error caused by using unsigned int as counter (while >= 0) in radio
- backbuffer didnt load in initrender (was removed from sky render)
- unitialized variable in envmap.c
Diffstat (limited to 'source/blender/render/intern/include/zbuf.h')
-rw-r--r-- | source/blender/render/intern/include/zbuf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index fe72db4ee41..73f6644650f 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -67,7 +67,7 @@ struct VlakRen; * @param y The height of the rectangle * @param val The value used to fill the rectangle. */ -void fillrect(unsigned int *rect, int x, unsigned int y, unsigned int val); +void fillrect(unsigned int *rect, int x, int y, unsigned int val); /** * Converts a world coordinate into a homogenous coordinate in view @@ -165,12 +165,12 @@ int vergzvlak(const void *x1, const void *x2); * @param c2 * @param c3 */ -void zbufclip(unsigned int zvlnr, float *f1, float *f2, float *f3, int c1, int c2, int c3); +void zbufclip(int zvlnr, float *f1, float *f2, float *f3, int c1, int c2, int c3); /** * same, for edges */ -void zbufclipwire(unsigned int zvlnr, struct VlakRen *vlr); +void zbufclipwire(int zvlnr, struct VlakRen *vlr); #ifdef __cplusplus } |