diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-30 12:53:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-30 12:53:55 +0300 |
commit | 91882d3ba171870b0d11a87db87f9a1b7e2e5aca (patch) | |
tree | 69b618a0c17ea208fe9e123c2edb92b1c04c574c /source/blender/editors/screen | |
parent | 5e98d8c523bba0146d18a404c810ba9ebbf3a535 (diff) |
Fix #19980: crash with opengl render active viewport.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 5c66c9a32e0..209535b1350 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3397,7 +3397,7 @@ static int screen_opengl_render_init(bContext *C, wmOperator *op) rr= RE_AcquireResultWrite(oglrender->re); if(rr->rectf==NULL) - rr->rectf= MEM_mallocN(sizeof(float)*4*sizex*sizex, "32 bits rects"); + rr->rectf= MEM_mallocN(sizeof(float)*4*sizex*sizey, "32 bits rects"); RE_ReleaseResult(oglrender->re); return 1; |