Fixed x64 build warnings.
Replaced __intN with intN_t. Some cleanup.
This commit is contained in:
1 parent
5c3e9fea4c
commit
55984fbb08
29 files changed
+201
-199
No files matched your search
@@ -40,7 +40,7 @@ void gdrv::get_focus()
|
||||
}
|
||||
|
||||
|
||||
BITMAPINFO* gdrv::DibCreate(__int16 bpp, int width, int height)
|
||||
BITMAPINFO* gdrv::DibCreate(int16_t bpp, int width, int height)
|
||||
{
|
||||
auto sizeBytes = height * (width * bpp / 8 + 3 & 0xFFFFFFFC);
|
||||
auto buf = GlobalAlloc(GHND, sizeBytes + sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD));
|
||||
|
||||
Reference in new issue
Block a user