Fix SDL_BITSPERPIXEL

pull/93/merge
Ethan Lee 2016-08-17 15:19:22 -04:00
parent cceef27e50
commit 6f158b9f79
1 changed files with 1 additions and 1 deletions

View File

@ -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)