diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-18 13:20:07 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-18 13:25:46 +0400 |
commit | 6e77dfeb1acc40cda7fee2b3f7f9d6497f4e7c19 (patch) | |
tree | aa5d5c027620a0f461d8b446caa8bdddcbc41125 /source/blender/compositor/operations/COM_ViewerOperation.cpp | |
parent | 6f4515b614ea7f667dcb4b0b5eea6f6d7b4c495f (diff) |
Color management: get rid of original byte buffer partial update
It was only used by opengl render and in fact it needed just to
set DISPLAY_BUFFER_INVALID flag for the image buffer.
In theory it wouldn't make any change to opengl render speed
(because this change just moved rect_from_float from color
management code to image save code). And could not see any speed
changes on my laptop.
Diffstat (limited to 'source/blender/compositor/operations/COM_ViewerOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ViewerOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ViewerOperation.cpp b/source/blender/compositor/operations/COM_ViewerOperation.cpp index 13b50910b50..8997f7bb436 100644 --- a/source/blender/compositor/operations/COM_ViewerOperation.cpp +++ b/source/blender/compositor/operations/COM_ViewerOperation.cpp @@ -171,7 +171,7 @@ void ViewerOperation::updateImage(rcti *rect) { IMB_partial_display_buffer_update(this->m_ibuf, this->m_outputBuffer, NULL, getWidth(), 0, 0, this->m_viewSettings, this->m_displaySettings, - rect->xmin, rect->ymin, rect->xmax, rect->ymax, false); + rect->xmin, rect->ymin, rect->xmax, rect->ymax); this->updateDraw(); } |