wined3d: Make the device parameter to wined3d_device_get_texture_stage_state() const.
This commit is contained in:
parent
fda48415ac
commit
ba69e7802a
|
@ -3738,7 +3738,7 @@ HRESULT CDECL wined3d_device_set_texture_stage_state(struct wined3d_device *devi
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CDECL wined3d_device_get_texture_stage_state(struct wined3d_device *device,
|
HRESULT CDECL wined3d_device_get_texture_stage_state(const struct wined3d_device *device,
|
||||||
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value)
|
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value)
|
||||||
{
|
{
|
||||||
TRACE("device %p, stage %u, state %s, value %p.\n",
|
TRACE("device %p, stage %u, state %s, value %p.\n",
|
||||||
|
|
|
@ -2258,7 +2258,7 @@ HRESULT __cdecl wined3d_device_get_swapchain(const struct wined3d_device *device
|
||||||
UINT __cdecl wined3d_device_get_swapchain_count(const struct wined3d_device *device);
|
UINT __cdecl wined3d_device_get_swapchain_count(const struct wined3d_device *device);
|
||||||
HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device,
|
HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device,
|
||||||
UINT stage, struct wined3d_texture **texture);
|
UINT stage, struct wined3d_texture **texture);
|
||||||
HRESULT __cdecl wined3d_device_get_texture_stage_state(struct wined3d_device *device,
|
HRESULT __cdecl wined3d_device_get_texture_stage_state(const struct wined3d_device *device,
|
||||||
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value);
|
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value);
|
||||||
HRESULT __cdecl wined3d_device_get_transform(const struct wined3d_device *device,
|
HRESULT __cdecl wined3d_device_get_transform(const struct wined3d_device *device,
|
||||||
WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix);
|
WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix);
|
||||||
|
|
Loading…
Reference in New Issue