DRW: Convert common theme color to linear for viewport render
authorClément Foucault <foucault.clem@gmail.com>
Tue, 11 Sep 2018 15:05:07 +0000 (17:05 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 11 Sep 2018 15:05:16 +0000 (17:05 +0200)
commit57f9e31bf4fb23b8a74f55c6778022eb5dd3b259
tree6c4506398c0d45907f3108c3c3058896c3c4c2d1
parent3fbdcefa174dd85972b7b63c0955e3a8d42f6943
DRW: Convert common theme color to linear for viewport render

This is not 100% correct (it should use a transfer function depending
on the display profile) but this is already much better than using srgb.
source/blender/draw/intern/draw_common.c
source/blender/draw/intern/draw_common.h