diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-03 16:04:47 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-03 16:04:47 +0100 |
commit | 63b1453dd8f0f579929fe7341f559b916cebcc2b (patch) | |
tree | ab32cb2f3db887f1916491750bb7d29bd2020593 /src/video_core/command_processor.cpp | |
parent | Merge pull request #231 from purpasmart96/serv_ac_wifi_status (diff) | |
parent | Silence a few -Wsign-compare warnings. (diff) | |
download | yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.gz yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.bz2 yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.lz yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.xz yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.tar.zst yuzu-63b1453dd8f0f579929fe7341f559b916cebcc2b.zip |
Diffstat (limited to 'src/video_core/command_processor.cpp')
-rw-r--r-- | src/video_core/command_processor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 1ec727698..8a6ba2560 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -60,7 +60,7 @@ static inline void WritePicaReg(u32 id, u32 value, u32 mask) { const u8* load_address = base_address + loader_config.data_offset; // TODO: What happens if a loader overwrites a previous one's data? - for (int component = 0; component < loader_config.component_count; ++component) { + for (unsigned component = 0; component < loader_config.component_count; ++component) { u32 attribute_index = loader_config.GetComponent(component); vertex_attribute_sources[attribute_index] = load_address; vertex_attribute_strides[attribute_index] = static_cast<u32>(loader_config.byte_count); |