Fix #27981: opengl render + render slots not working.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 29 Nov 2011 22:37:16 +0000 (22:37 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 29 Nov 2011 22:37:16 +0000 (22:37 +0000)
commitd949dd684935639c160f1325271a55025b072a86
tree491455ea3e81195884dc889d35de19330234e5c3
parentdb29fd4cd11994f1afd594a8b26bbbc03dea751f
Fix #27981: opengl render + render slots not working.

This also revealed an issue where the opengl render float buffer was not linear,
and toggling back to a render slot would show wrong colors. Now it converts the
float buffer to linear so that this goes ok, disadvantage is that it's slower.
source/blender/editors/render/render_opengl.c