[PATCH 1/4] wined3d: 1x1 texures have a power of two size

Stefan Dösinger stefan at codeweavers.com
Sun Apr 14 14:10:46 CDT 2013


Am 2013-04-14 11:16, schrieb Henri Verbeet:
> 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.
D'oh!

Please use this patch instead.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-1x1-texures-have-a-power-of-two-size.patch
Type: text/x-patch
Size: 1404 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130414/b5b8b673/attachment.bin>


More information about the wine-patches mailing list