[PATCH 1/4] wined3d: 1x1 texures have a power of two size
Henri Verbeet
hverbeet at gmail.com
Sun Apr 14 04:16:13 CDT 2013
On 13 April 2013 16:37, Stefan Dösinger <stefan at codeweavers.com> wrote:
> @@ -965,8 +965,6 @@ static HRESULT texture_init(struct wined3d_texture *texture, UINT width, UINT he
> && !(format->id == WINED3DFMT_P8_UINT && gl_info->supported[EXT_PALETTED_TEXTURE]
> && wined3d_settings.rendertargetlock_mode == RTL_READTEX))
> {
> - if (width != 1 || height != 1)
> - texture->flags &= ~WINED3D_TEXTURE_POW2_MAT_IDENT;
>
> texture->pow2_matrix[0] = (float)width;
> texture->pow2_matrix[5] = (float)height;
I think we'll want the empty line here gone as well, but otherwise the
series looks ok.
More information about the wine-devel
mailing list