From 9375a87c86796ce9363b802a894e2386c196c142 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 14 Jul 2011 01:02:47 +0200 Subject: [PATCH] wined3d: Make the context and device parameters to find_draw_buffers_mask() const. --- dlls/wined3d/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index e1e0d87aea..306d2f7686 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2149,7 +2149,7 @@ BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_d return TRUE; } -static DWORD find_draw_buffers_mask(struct wined3d_context *context, struct wined3d_device *device) +static DWORD find_draw_buffers_mask(const struct wined3d_context *context, const struct wined3d_device *device) { const struct wined3d_state *state = &device->stateBlock->state; struct wined3d_surface **rts = state->fb->render_targets; -- 2.32.0.93.g670b81a890