mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-13 13:35:14 +01:00
vertex_shader: Fix control reaches end of function warning
This commit is contained in:
parent
3cfdabb2e3
commit
bd76783d91
@ -141,7 +141,7 @@ union Instruction {
|
|||||||
return BitFieldType::Value();
|
return BitFieldType::Value();
|
||||||
else if (GetRegisterType() == Temporary)
|
else if (GetRegisterType() == Temporary)
|
||||||
return BitFieldType::Value() - 0x10;
|
return BitFieldType::Value() - 0x10;
|
||||||
else if (GetRegisterType() == FloatUniform)
|
else // if (GetRegisterType() == FloatUniform)
|
||||||
return BitFieldType::Value() - 0x20;
|
return BitFieldType::Value() - 0x20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user