diff options
| -rw-r--r-- | src/video_core/swrasterizer/rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/swrasterizer/rasterizer.cpp b/src/video_core/swrasterizer/rasterizer.cpp index 80ecf72ec..aee630954 100644 --- a/src/video_core/swrasterizer/rasterizer.cpp +++ b/src/video_core/swrasterizer/rasterizer.cpp | |||
| @@ -118,7 +118,7 @@ static std::tuple<float24, float24, PAddr> ConvertCubeCoord(float24 u, float24 v | |||
| 118 | static float LookupLightingLut(const Pica::State::Lighting& lighting, size_t lut_index, u8 index, | 118 | static float LookupLightingLut(const Pica::State::Lighting& lighting, size_t lut_index, u8 index, |
| 119 | float delta) { | 119 | float delta) { |
| 120 | ASSERT_MSG(lut_index < lighting.luts.size(), "Out of range lut"); | 120 | ASSERT_MSG(lut_index < lighting.luts.size(), "Out of range lut"); |
| 121 | ASSERT_MSG(index < lighting.luts[0].size(), "Out of range index"); | 121 | ASSERT_MSG(index < lighting.luts[lut_index].size(), "Out of range index"); |
| 122 | 122 | ||
| 123 | const auto& lut = lighting.luts[lut_index][index]; | 123 | const auto& lut = lighting.luts[lut_index][index]; |
| 124 | 124 | ||