diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-02-17 00:44:18 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-02-17 00:44:18 +0300 |
commit | 39ea873a8bc91a7fc4df7b1fa7a7a18239fddae1 (patch) | |
tree | 68a81953a98bc282e804c924b32781230ee74af1 /source/blender/freestyle/intern/application/Controller.h | |
parent | ca908e21e215a87f0783fed47feed394ccdea4d6 (diff) |
Fixed bugs in AppCanvas::readColorPixels() and
AppCanvas::readDepthPixels() that caused a crash when
the aspect ratio was not 1:1.
Diffstat (limited to 'source/blender/freestyle/intern/application/Controller.h')
-rwxr-xr-x | source/blender/freestyle/intern/application/Controller.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.h b/source/blender/freestyle/intern/application/Controller.h index 83a4f2754b9..9d1db24a026 100755 --- a/source/blender/freestyle/intern/application/Controller.h +++ b/source/blender/freestyle/intern/application/Controller.h @@ -70,8 +70,8 @@ public: ~Controller() ; void setView(AppView *iView); - void setPassDiffuse(float *p); - void setPassZ(float *p); + void setPassDiffuse(float *buf, int width, int height); + void setPassZ(float *buf, int width, int height); void setContext(bContext *C); //soc |