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:
authorClément Foucault <foucault.clem@gmail.com>2019-03-29 00:38:55 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-03-29 00:38:55 +0300
commit4d71b655ec05d4fcee72d4606e97a3e146804054 (patch)
tree32e2e3d20c499882a559c166d11195e2f9974174 /source/blender/python/gpu
parent42dd888b98b598c240f78302b857fa60add08ca5 (diff)
GPU: Fix color difference when rendering to gpu_py_offscreen
Now we do the color management inside the Draw manager and output CM byte buffer.
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r--source/blender/python/gpu/gpu_py_offscreen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c
index 21edae036df..5482677defc 100644
--- a/source/blender/python/gpu/gpu_py_offscreen.c
+++ b/source/blender/python/gpu/gpu_py_offscreen.c
@@ -259,6 +259,7 @@ static PyObject *bpygpu_offscreen_draw_view3d(BPyGPUOffScreen *self, PyObject *a
true,
"",
NULL,
+ true,
self->ofs,
NULL);