mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-17 14:58:01 +00:00
gl_shader_decompiler: Get rid of variable shadowing warnings
A variable with the same name was previously declared in an outer scope.
This commit is contained in:
parent
8ff87912da
commit
82194e57de
1 changed files with 2 additions and 2 deletions
|
@ -3308,8 +3308,8 @@ private:
|
|||
Tegra::Shader::VmadType type, u64 byte_height) {
|
||||
const std::string value = [&]() {
|
||||
if (!is_chunk) {
|
||||
const auto offset = static_cast<u32>(byte_height * 8);
|
||||
return "((" + op + " >> " + std::to_string(offset) + ") & 0xff)";
|
||||
const auto shift = static_cast<u32>(byte_height * 8);
|
||||
return "((" + op + " >> " + std::to_string(shift) + ") & 0xff)";
|
||||
}
|
||||
const std::string zero = "0";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue