mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-16 12:20:57 +00:00
remove unnecessary nonnegative check for unsigned variable
This commit is contained in:
parent
6c7c63c2af
commit
1ed1f719bc
@ -1485,7 +1485,7 @@ namespace MainWindow
|
||||
// The Menu ID is contained in wParam, so subtract
|
||||
// ID_SHADERS_BASE and an additional 1 off it.
|
||||
u32 index = (wParam - ID_SHADERS_BASE - 1);
|
||||
if (index >= 0 && index < availableShaders.size()) {
|
||||
if (index < availableShaders.size()) {
|
||||
g_Config.sPostShaderName = availableShaders[index];
|
||||
|
||||
NativeMessageReceived("gpu resized", "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user