[PATCH 2/5] wined3d: Make the device and surface parameters to context_enum_surface_fbo_entries() const.
Henri Verbeet
hverbeet at codeweavers.com
Wed Jun 29 16:14:12 CDT 2011
---
dlls/wined3d/context.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 51a77ef..a37c664 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -563,8 +563,8 @@ void context_free_event_query(struct wined3d_event_query *query)
typedef void (context_fbo_entry_func_t)(struct wined3d_context *context, struct fbo_entry *entry);
-static void context_enum_surface_fbo_entries(struct wined3d_device *device,
- struct wined3d_surface *surface, context_fbo_entry_func_t *callback)
+static void context_enum_surface_fbo_entries(const struct wined3d_device *device,
+ const struct wined3d_surface *surface, context_fbo_entry_func_t *callback)
{
UINT i;
--
1.7.3.4
More information about the wine-patches
mailing list