Sigh MinGW

This commit is contained in:
Pietro Gagliardi 2018-09-01 20:03:15 -04:00
parent 7268f2c78f
commit e2222e414d
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,7 @@ But libui is not dead; I am working on it whenever I can, and I hope to get it t
*Note that today's entry (Eastern Time) may be updated later today.*
* **1 September 2018**
* **Alpha 4.1 is here.** This is an emergency fix to Alpha 4 to fix `uiImageAppend()` not working as documented. It now works properly, with one important difference you'll need to care about: **it now requires image data to be alpha-premultiplied**. In addition, `uiImage` also manages memory slightly better now, and `ui.h` has minor documentation typo fixes.
* **Alpha 4.1 is here.** This is an emergency fix to Alpha 4 to fix `uiImageAppend()` not working as documented. It now works properly, with one important difference you'll need to care about: **it now requires image data to be alpha-premultiplied**. In addition, `uiImage` also is implemented slightly more nicely now, and `ui.h` has minor documentation typo fixes.
* **10 August 2018**
* **Alpha 4 is finally here.** Everything from Alpha 3.5 and what's listed below is in this release; the two biggest changes are still the new text drawing API and new uiTable control. In between all that is a whole bunch of bugfixes, and hopefully more stability too. Thanks to everybody who helped contribute!

View File

@ -55,7 +55,8 @@ void uiImageAppend(uiImage *i, void *pixels, int pixelWidth, int pixelHeight, in
WICRect r;
IWICBitmapLock *l;
uint8_t *pix, *data;
WICInProcPointer dipp;
// TODO WICInProcPointer is not available in MinGW-w64
BYTE *dipp;
UINT size;
UINT realStride;
int x, y;