diff --git a/core/rend/TexCache.h b/core/rend/TexCache.h index 0af91f646..11abc598c 100644 --- a/core/rend/TexCache.h +++ b/core/rend/TexCache.h @@ -114,9 +114,9 @@ struct pp_8888 __forceinline static u32 packRGB(u8 R,u8 G,u8 B) { #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && defined(GLES) - return (R << 0) | (G << 8) | (B << 16); + return (R << 0) | (G << 8) | (B << 16) | 0xFF000000; #else - return (R << 24) | (G << 16) | (B << 8); + return (R << 24) | (G << 16) | (B << 8) | 0xFF; #endif } };