mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 09:05:29 +00:00
Fix SDL_BITSPERPIXEL
This commit is contained in:
parent
cceef27e50
commit
6f158b9f79
|
@ -2385,7 +2385,7 @@ namespace SDL2
|
|||
|
||||
public static byte SDL_BITSPERPIXEL(uint X)
|
||||
{
|
||||
return (byte) ((X >> 8) & 0x0F);
|
||||
return (byte) ((X >> 8) & 0xFF);
|
||||
}
|
||||
|
||||
public static byte SDL_BYTESPERPIXEL(uint X)
|
||||
|
|
Loading…
Reference in a new issue