From c043d43772aa403aa17f59e3efe381dc09168c85 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 5 Mar 2019 08:09:46 +1100 Subject: [PATCH] Updated d3dx9_36-DrawText patchset Thanks github user IIde pointing this out. --- .../0001-d3dx9_36-Implement-ID3DXFontImpl_DrawText.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/d3dx9_36-DrawText/0001-d3dx9_36-Implement-ID3DXFontImpl_DrawText.patch b/patches/d3dx9_36-DrawText/0001-d3dx9_36-Implement-ID3DXFontImpl_DrawText.patch index 5253f58d..bf4ecec5 100644 --- a/patches/d3dx9_36-DrawText/0001-d3dx9_36-Implement-ID3DXFontImpl_DrawText.patch +++ b/patches/d3dx9_36-DrawText/0001-d3dx9_36-Implement-ID3DXFontImpl_DrawText.patch @@ -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)) + {