[PATCH 5/5] wined3d: Make the device parameter to process_vertices_strided() const.
Henri Verbeet
hverbeet at codeweavers.com
Thu Sep 15 13:01:53 CDT 2011
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 2916b2d..7fd6eee 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3232,7 +3232,7 @@ HRESULT CDECL wined3d_device_get_ps_consts_f(const struct wined3d_device *device
/* Context activation is done by the caller. */
/* Do not call while under the GL lock. */
#define copy_and_next(dest, src, size) memcpy(dest, src, size); dest += (size)
-static HRESULT process_vertices_strided(struct wined3d_device *device, DWORD dwDestIndex, DWORD dwCount,
+static HRESULT process_vertices_strided(const struct wined3d_device *device, DWORD dwDestIndex, DWORD dwCount,
const struct wined3d_stream_info *stream_info, struct wined3d_buffer *dest, DWORD flags,
DWORD DestFVF)
{
--
1.7.3.4
More information about the wine-patches
mailing list