mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user