summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortfarley <tfarleygithub@gmail.com>2016-04-22 10:48:00 -0400
committertfarley <tfarleygithub@gmail.com>2016-04-22 10:48:00 -0400
commit3268cab26b49468bbab7c09e6eb8f36ed4a91158 (patch)
treed9dad3dd629328f15d218a07e71d242fa546375d
parentbab30bcd6e6ea43cde9f75136e711a59f094b058 (diff)
HWRasterizer: sync specular uniform for new shaders
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index da4121c35..30187d4cf 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -874,6 +874,8 @@ void RasterizerOpenGL::SetShader() {
SyncGlobalAmbient();
for (int light_index = 0; light_index < 8; light_index++) {
+ SyncLightSpecular0(light_index);
+ SyncLightSpecular1(light_index);
SyncLightDiffuse(light_index);
SyncLightAmbient(light_index);
SyncLightPosition(light_index);