Henri Verbeet : wined3d: Make the context parameter to context_create_fbo_entry() const.

Alexandre Julliard julliard at winehq.org
Wed Jun 29 15:47:43 CDT 2011


Module: wine
Branch: master
Commit: 0bae611bf5fa581377038df97c028bd0e00c46c0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0bae611bf5fa581377038df97c028bd0e00c46c0

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Jun 29 12:33:53 2011 +0200

wined3d: Make the context parameter to context_create_fbo_entry() const.

---

 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;




More information about the wine-cvs mailing list