Fixed linking x64 with Visual Studio 2010.
This commit is contained in:
parent
57a49884db
commit
5f55b90cbd
3 changed files with 41 additions and 3 deletions
|
@ -1247,10 +1247,11 @@ UILess_ReleaseSinks(SDL_VideoData *videodata)
|
|||
static void *
|
||||
StartDrawToBitmap(HDC hdc, HBITMAP *hhbm, int width, int height)
|
||||
{
|
||||
BITMAPINFO info = {0};
|
||||
BITMAPINFO info;
|
||||
BITMAPINFOHEADER *infoHeader = &info.bmiHeader;
|
||||
BYTE *bits = NULL;
|
||||
if (hhbm) {
|
||||
SDL_zero(info);
|
||||
infoHeader->biSize = sizeof(BITMAPINFOHEADER);
|
||||
infoHeader->biWidth = width;
|
||||
infoHeader->biHeight = -1 * SDL_abs(height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue