Updated d3dx9_36-DrawText patchset

Thanks github user IIde pointing this out.
This commit is contained in:
Alistair Leslie-Hughes 2019-03-05 08:09:46 +11:00
parent d3067e60ff
commit c043d43772

View File

@ -180,7 +180,7 @@ index 5522dea..916ce4c 100644
+ DeleteObject(This->bitmap);
+ }
+
+ hr = D3DXCreateTexture(This->device, This->tex_width, This->tex_height, 1, 0,
+ hr = D3DXCreateTexture(This->device, This->tex_width, This->tex_height, 1, D3DUSAGE_DYNAMIC,
+ D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &This->texture);
+ if (FAILED(hr))
+ {