mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
TINYGL: Minor optimization.
Note: removed a duplicated if check.
This commit is contained in:
parent
447aa02d03
commit
5049413d24
@ -150,8 +150,6 @@ struct FrameBuffer {
|
||||
FORCEINLINE void writePixel(int pixel, int value) {
|
||||
byte rSrc, gSrc, bSrc, aSrc;
|
||||
this->pbuf.getFormat().colorToARGB(value, aSrc, rSrc, gSrc, bSrc);
|
||||
if (!checkAlphaTest(aSrc))
|
||||
return;
|
||||
|
||||
if (_blendingEnabled == false) {
|
||||
this->pbuf.setPixelAt(pixel, value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user