[PATCH 5/5] wined3d: Make the device parameter to SetupForBlit() const.

Henri Verbeet hverbeet at codeweavers.com
Sun Oct 23 11:24:01 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 2742b54..66460d9 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1717,7 +1717,7 @@ static inline void set_blit_dimension(UINT width, UINT height) {
  *
  *****************************************************************************/
 /* Context activation is done by the caller. */
-static void SetupForBlit(struct wined3d_device *device, struct wined3d_context *context)
+static void SetupForBlit(const struct wined3d_device *device, struct wined3d_context *context)
 {
     int i;
     const struct wined3d_gl_info *gl_info = context->gl_info;
-- 
1.7.3.4




More information about the wine-patches mailing list