[PATCH 4/5] wined3d: Make the context parameter to context_create_fbo_entry() const.

Henri Verbeet hverbeet at codeweavers.com
Wed Jun 29 05:33:53 CDT 2011


---
 dlls/wined3d/context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index fa7242d..8902ac5 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -268,7 +268,7 @@ void context_check_fbo_status(struct wined3d_context *context, GLenum target)
     }
 }
 
-static struct fbo_entry *context_create_fbo_entry(struct wined3d_context *context,
+static struct fbo_entry *context_create_fbo_entry(const struct wined3d_context *context,
         struct wined3d_surface **render_targets, struct wined3d_surface *depth_stencil, DWORD location)
 {
     const struct wined3d_gl_info *gl_info = context->gl_info;
-- 
1.7.3.4




More information about the wine-patches mailing list