wined3d: Make the device parameter to wined3d_device_get_texture() const.
This commit is contained in:
parent
5609f062d2
commit
11323b4416
|
@ -3863,7 +3863,7 @@ HRESULT CDECL wined3d_device_set_texture(struct wined3d_device *device,
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_device_get_texture(struct wined3d_device *device,
|
||||
HRESULT CDECL wined3d_device_get_texture(const struct wined3d_device *device,
|
||||
UINT stage, struct wined3d_texture **texture)
|
||||
{
|
||||
TRACE("device %p, stage %u, texture %p.\n", device, stage, texture);
|
||||
|
|
|
@ -2256,7 +2256,7 @@ HRESULT __cdecl wined3d_device_get_surface_from_dc(struct wined3d_device *device
|
|||
HRESULT __cdecl wined3d_device_get_swapchain(const struct wined3d_device *device,
|
||||
UINT swapchain_idx, struct wined3d_swapchain **swapchain);
|
||||
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(const struct wined3d_device *device,
|
||||
UINT stage, struct wined3d_texture **texture);
|
||||
HRESULT __cdecl wined3d_device_get_texture_stage_state(const struct wined3d_device *device,
|
||||
UINT stage, WINED3DTEXTURESTAGESTATETYPE state, DWORD *value);
|
||||
|
|
Loading…
Reference in New Issue