diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-28 21:13:21 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-04 22:59:11 +0100 |
commit | f443c7e5b0721d706f80f3eab567b0b6abd4f14b (patch) | |
tree | b188ae150a41860f519119ff82d639f71a776eb5 /src/video_core/renderer_opengl/pica_to_gl.h | |
parent | VideoCore: Split framebuffer regs from Regs struct (diff) | |
download | yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.tar yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.tar.gz yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.tar.bz2 yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.tar.lz yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.tar.xz yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.tar.zst yuzu-f443c7e5b0721d706f80f3eab567b0b6abd4f14b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/pica_to_gl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/pica_to_gl.h b/src/video_core/renderer_opengl/pica_to_gl.h index c1bf3dc24..97c044918 100644 --- a/src/video_core/renderer_opengl/pica_to_gl.h +++ b/src/video_core/renderer_opengl/pica_to_gl.h @@ -210,7 +210,7 @@ inline GLvec4 ColorRGBA8(const u32 color) { }}; } -inline std::array<GLfloat, 3> LightColor(const Pica::Regs::LightColor& color) { +inline std::array<GLfloat, 3> LightColor(const Pica::LightingRegs::LightColor& color) { return {{ color.r / 255.0f, color.g / 255.0f, color.b / 255.0f, }}; |