Fix for all OpenGL lights affecting Cycles viewport, regardless of their Enabled...
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 May 2016 10:07:00 +0000 (12:07 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 23 May 2016 10:10:53 +0000 (12:10 +0200)
commitcbbb021596c71f65862216ca381ab2054c6c6c2e
tree3fa897c5d9387eefc3b3340748742ab42bfe219d
parentde8494b54e9f02968075f6c3785a557c4cfc9535
Fix for all OpenGL lights affecting Cycles viewport, regardless of their Enabled state

Was a regression since e1b8a5d.

Probably not very optimal fix, but better than a regression anyway.
source/blender/gpu/intern/gpu_basic_shader.c