d3dx9_36: Align texture dimensions to block size for compressed textures in D3DXCheckTextureRequirements.

Henri Verbeet hverbeet at gmail.com
Mon Mar 23 10:02:25 CDT 2015


On 23 March 2015 at 15:50, Sebastian Lackner <sebastian at fds-team.de> wrote:
> +        if (w % fmt->block_width)
> +            w += fmt->block_width - w % fmt->block_width;
> +        if (h % fmt->block_height)
> +            h += fmt->block_height - h % fmt->block_height;
Could you please just use the conventional way to align something?



More information about the wine-devel mailing list