mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 09:36:21 +00:00
GRIM: Undo last char/uint8 change for gfx_opengl_shaders.cpp
This one still uses `char`.
This commit is contained in:
parent
f3cac273b8
commit
f08c56c527
@ -1259,11 +1259,11 @@ void GfxOpenGLS::createTexture(Texture *texture, const uint8 *data, const CMap *
|
||||
if (col == 0) {
|
||||
memset(texdatapos, 0, bytes); // transparent
|
||||
if (!texture->_hasAlpha) {
|
||||
texdatapos[3] = 0xff; // fully opaque
|
||||
texdatapos[3] = '\xff'; // fully opaque
|
||||
}
|
||||
} else {
|
||||
memcpy(texdatapos, cmap->_colors + 3 * (col), 3);
|
||||
texdatapos[3] = 0xff; // fully opaque
|
||||
texdatapos[3] = '\xff'; // fully opaque
|
||||
}
|
||||
texdatapos += bytes;
|
||||
data++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user