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.