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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-04-02 21:28:29 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-04-02 21:28:29 +0400
commitf871d9a82f06e70fb26cbe0bfbd4db18d481059c (patch)
treeaa8c565e9e046041d06809bc6afcb7fb49e503b1 /intern/opencolorio/fallback_impl.cc
parent726dedafbc6d9b4a12ccf1a715f16459d7e7b1ef (diff)
Fixes for recent GLSL display space conversions
- Building without OCIO will give correct results again - If GLSL failed to compile, fallback to glaDrawPixelsAuto will happen.
Diffstat (limited to 'intern/opencolorio/fallback_impl.cc')
-rw-r--r--intern/opencolorio/fallback_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/opencolorio/fallback_impl.cc b/intern/opencolorio/fallback_impl.cc
index 47c648e9cba..4c19c454aee 100644
--- a/intern/opencolorio/fallback_impl.cc
+++ b/intern/opencolorio/fallback_impl.cc
@@ -381,8 +381,9 @@ void FallbackImpl::matrixTransformScale(float * , float * , const float *)
{
}
-void FallbackImpl::setupGLSLDraw(struct OCIO_GLSLDrawState **state_r, OCIO_ConstProcessorRcPtr *processor)
+bool FallbackImpl::setupGLSLDraw(struct OCIO_GLSLDrawState **state_r, OCIO_ConstProcessorRcPtr *processor)
{
+ return false;
}
void FallbackImpl::finishGLSLDraw(OCIO_GLSLDrawState *state)