[PATCH 3/5] d3dx9: Implement ID3DXFont_PreloadGlyphs.
Sven Baars
sbaars at codeweavers.com
Wed Feb 26 04:05:27 CST 2020
On 25-02-2020 18:22, Matteo Bruni wrote:
> On Thu, Feb 13, 2020 at 5:14 PM Sven Baars <sbaars at codeweavers.com> wrote:
>>
>> Based on a patch by Tony Wasserka.
>>
>> Signed-off-by: Sven Baars <sbaars at codeweavers.com>
>> ---
>> dlls/d3dx9_36/font.c | 276 ++++++++++++++++++++++++++++++++-----
>> dlls/d3dx9_36/tests/core.c | 5 +-
>> 2 files changed, 242 insertions(+), 39 deletions(-)
>
> I have reworked this patch a bit but I might have broken it. I'm
> attaching it here, can you test that it still works?
>
Hi Matteo,
It does still work, but it adds a new compiler warning:
../../../dlls/d3dx9_36/font.c: In function ‘ID3DXFontImpl_PreloadGlyphs’:
../../../dlls/d3dx9_36/font.c:251:44: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
if (wine_rb_get(&font->glyph_tree, (void *)glyph))
^
../../../dlls/d3dx9_36/font.c:264:40: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
wine_rb_put(&font->glyph_tree, (void *)current_glyph->id,
¤t_glyph->entry);
^
Cheers,
Sven
More information about the wine-devel
mailing list