This commit is contained in:
Camilla Löwy
2017-08-27 23:09:08 +02:00
parent 45ca8b8d19
commit d8551b73f6
2 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ static HICON createIcon(const GLFWimage* image,
unsigned char* source = image->pixels;
ZeroMemory(&bi, sizeof(bi));
bi.bV5Size = sizeof(BITMAPV5HEADER);
bi.bV5Size = sizeof(bi);
bi.bV5Width = image->width;
bi.bV5Height = -image->height;
bi.bV5Planes = 1;