wined3d: Use WINED3DRTYPE_SURFACE rather than D3DRTYPE_SURFACE.

This commit is contained in:
H. Verbeet 2007-02-15 13:31:54 +01:00 committed by Alexandre Julliard
parent e01f242a2a
commit 176a2a19c3
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ static HRESULT WINAPI IWineD3DPaletteImpl_SetEntries(IWineD3DPalette *iface, DW
/* If the palette is attached to the render target, update all render targets */
for(res = This->wineD3DDevice->resources; res != NULL; res=res->next) {
if(IWineD3DResource_GetType(res->resource) == D3DRTYPE_SURFACE) {
if(IWineD3DResource_GetType(res->resource) == WINED3DRTYPE_SURFACE) {
IWineD3DSurfaceImpl *impl = (IWineD3DSurfaceImpl *) res->resource;
if(impl->palette == This)
IWineD3DSurface_RealizePalette( (IWineD3DSurface *) res->resource);