wined3d: Make the device parameter to wined3d_device_validate_device() const.

This commit is contained in:
Henri Verbeet 2011-10-11 17:24:54 +02:00 committed by Alexandre Julliard
parent 229662fc46
commit dd2378cbf2
2 changed files with 2 additions and 2 deletions

View File

@ -4473,7 +4473,7 @@ HRESULT CDECL wined3d_device_get_front_buffer_data(const struct wined3d_device *
return hr;
}
HRESULT CDECL wined3d_device_validate_device(struct wined3d_device *device, DWORD *num_passes)
HRESULT CDECL wined3d_device_validate_device(const struct wined3d_device *device, DWORD *num_passes)
{
const struct wined3d_state *state = &device->stateBlock->state;
struct wined3d_texture *texture;

View File

@ -2346,7 +2346,7 @@ HRESULT __cdecl wined3d_device_update_surface(struct wined3d_device *device, str
const RECT *src_rect, struct wined3d_surface *dst_surface, const POINT *dst_point);
HRESULT __cdecl wined3d_device_update_texture(struct wined3d_device *device,
struct wined3d_texture *src_texture, struct wined3d_texture *dst_texture);
HRESULT __cdecl wined3d_device_validate_device(struct wined3d_device *device, DWORD *num_passes);
HRESULT __cdecl wined3d_device_validate_device(const struct wined3d_device *device, DWORD *num_passes);
HRESULT __cdecl wined3d_palette_create(struct wined3d_device *device, DWORD flags,
const PALETTEENTRY *entries, void *parent, struct wined3d_palette **palette);