diff options
Diffstat (limited to 'src/JSystem/J2DGraph/J2DPicture.cpp')
| -rw-r--r-- | src/JSystem/J2DGraph/J2DPicture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/J2DGraph/J2DPicture.cpp b/src/JSystem/J2DGraph/J2DPicture.cpp index d9c86016..66a55c4d 100644 --- a/src/JSystem/J2DGraph/J2DPicture.cpp +++ b/src/JSystem/J2DGraph/J2DPicture.cpp @@ -197,7 +197,7 @@ bool J2DPicture::remove(u8 idx) { mBlendKonstColorF[i] = mBlendKonstColorF[i + 1]; mBlendKonstAlphaF[i] = mBlendKonstAlphaF[i + 1]; } - mValidTexture = mValidTexture & (1 << idx) - 1 | ((mValidTexture & ~((1 << idx + 1) - 1)) >> 1); + mValidTexture = mValidTexture & (1 << idx) - 1 | ((mValidTexture & ~((1 << (idx + 1)) - 1)) >> 1); mNumTexture--; setBlendKonstColor(); setBlendKonstAlpha(); |
