summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortfarley <tfarleygithub@gmail.com>2016-04-22 16:48:00 +0200
committertfarley <tfarleygithub@gmail.com>2016-04-22 16:48:00 +0200
commit3268cab26b49468bbab7c09e6eb8f36ed4a91158 (patch)
treed9dad3dd629328f15d218a07e71d242fa546375d
parentMerge pull request #1436 from tfarley/hw-tex-forwarding (diff)
downloadyuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar
yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.gz
yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.bz2
yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.lz
yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.xz
yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.tar.zst
yuzu-3268cab26b49468bbab7c09e6eb8f36ed4a91158.zip
-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);