Henri Verbeet : wined3d: Make the generate_rt_mask_no_fbo() parameters const.

Alexandre Julliard julliard at winehq.org
Tue Jun 28 17:25:14 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Jun 28 02:26:18 2011 +0200

wined3d: Make the generate_rt_mask_no_fbo() parameters 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 169946a..4a4b047 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -2003,7 +2003,7 @@ static void context_validate_onscreen_formats(struct wined3d_device *device,
     context_set_render_offscreen(context, device->StateTable, TRUE);
 }
 
-static DWORD generate_rt_mask_no_fbo(struct wined3d_device *device, struct wined3d_surface *rt)
+static DWORD generate_rt_mask_no_fbo(const struct wined3d_device *device, const struct wined3d_surface *rt)
 {
     if (!rt || rt->resource.format->id == WINED3DFMT_NULL)
         return 0;




More information about the wine-cvs mailing list