mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[WINED3D] Silence a noisy DPRINT that makes Test KVM AHK abort.
CORE-13829 svn path=/trunk/; revision=75965
This commit is contained in:
parent
236b03f729
commit
5e87235129
1 changed files with 8 additions and 0 deletions
|
@ -85,7 +85,15 @@ HRESULT CDECL wined3d_palette_get_entries(const struct wined3d_palette *palette,
|
|||
void CDECL wined3d_palette_apply_to_dc(const struct wined3d_palette *palette, HDC dc)
|
||||
{
|
||||
if (SetDIBColorTable(dc, 0, 256, palette->colors) != 256)
|
||||
#ifdef __REACTOS__
|
||||
{
|
||||
static int warn_once;
|
||||
if (!warn_once++)
|
||||
ERR("Failed to set DIB color table. (Only printing once)\n");
|
||||
}
|
||||
#else
|
||||
ERR("Failed to set DIB color table.\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_palette_set_entries(struct wined3d_palette *palette,
|
||||
|
|
Loading…
Reference in a new issue