14 Jun
2024
14 Jun
'24
9:30 a.m.
Rémi Bernon (@rbernon) commented about dlls/opengl32/wgl.c:
+ * wglGetPixelFormatAttribfvARB (OPENGL32.@) + */ +BOOL WINAPI wglGetPixelFormatAttribfvARB( HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, + const int *piAttributes, FLOAT *pfValues ) +{ + int *values; + BOOL ret; + UINT i; + + TRACE("(%p, %d, %d, %d, %p, %p)\n", hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, pfValues); + + if (!(values = malloc( nAttributes * sizeof(int) ))) + { + ERR("couldn't allocate %d array\n", nAttributes); + return FALSE; + } Not sure it's worth a message.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5844#note_73176