May 29, 2024
11:53 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/surface.c:
return E_NOTIMPL; }
- if (!(uncompressed_mem = malloc(size->width * size->height * size->depth * uncompressed_desc->bytes_per_pixel))) + if (!(uncompressed_mem = malloc(pixels->width * pixels->height * pixels->depth * uncompressed_desc->bytes_per_pixel)))
I don't mean to cause unnecessary churn but maybe embedding a `struct volume` inside `struct d3dx_pixels` would be nice? Feel 100% free to dismiss this one. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5666#note_71705