Brendan Shanks (@bshanks) commented about dlls/winemac.drv/surface.c:
if (!(provider = data_provider_create(info->bmiHeader.biSizeImage, &bits))) return NULL; window_background = macdrv_window_background_color();
- {
CFDictionaryRef properties;CFStringRef keys[] = { kIOSurfaceWidth, kIOSurfaceHeight, kIOSurfaceBytesPerElement, kIOSurfacePixelFormat };CFNumberRef values[4];uint32_t surfaceWidth = info->bmiHeader.biWidth;uint32_t surfaceHeight = abs(info->bmiHeader.biHeight);uint32_t surfaceBytesPerElement = 4;uint32_t surfacePixelFormat = 'BGRA';
whitespace here