Henri Verbeet : wined3d: Make the device parameter to wined3d_device_get_texture_stage_state() const.
Alexandre Julliard
julliard at winehq.org
Mon Sep 19 13:48:42 CDT 2011
Module: wine
Branch: master
Commit: ba69e7802a9fcf728f5c4e3be9f1763b06b1a3d9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ba69e7802a9fcf728f5c4e3be9f1763b06b1a3d9
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Sep 18 21:05:31 2011 +0200
wined3d: Make the device parameter to wined3d_device_get_texture_stage_state() const.
---
dlls/wined3d/device.c | 2 +-
include/wine/wined3d.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index a585d25..fe1b8a4 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3738,7 +3738,7 @@ HRESULT CDECL wined3d_device_set_texture_stage_state(struct wined3d_device *devi
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)
{
TRACE("device %p, stage %u, state %s, value %p.\n",
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index fbd5103..ed62b08 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -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);
HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device,
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);
HRESULT __cdecl wined3d_device_get_transform(const struct wined3d_device *device,
WINED3DTRANSFORMSTATETYPE state, WINED3DMATRIX *matrix);
More information about the wine-cvs
mailing list