Henri Verbeet : wined3d: Make the volume parameter to volume_bind_and_dirtify() const.

Alexandre Julliard julliard at winehq.org
Wed Jul 13 12:16:32 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Jul 12 21:17:44 2011 +0200

wined3d: Make the volume parameter to volume_bind_and_dirtify() const.

---

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

diff --git a/dlls/wined3d/volume.c b/dlls/wined3d/volume.c
index e176edc..8803770 100644
--- a/dlls/wined3d/volume.c
+++ b/dlls/wined3d/volume.c
@@ -25,7 +25,7 @@
 WINE_DEFAULT_DEBUG_CHANNEL(d3d_surface);
 
 /* Context activation is done by the caller. */
-static void volume_bind_and_dirtify(struct wined3d_volume *volume, const struct wined3d_gl_info *gl_info)
+static void volume_bind_and_dirtify(const struct wined3d_volume *volume, const struct wined3d_gl_info *gl_info)
 {
     struct wined3d_texture *container = volume->container;
     DWORD active_sampler;




More information about the wine-cvs mailing list