[PATCH 09/10] wined3d: Make the ctx parameter to WineD3D_ReleaseFakeGLContext() const.

Henri Verbeet hverbeet at codeweavers.com
Tue Aug 23 13:08:13 CDT 2011


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

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index afc77df..99eb881 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -261,7 +261,7 @@ struct wined3d_fake_gl_ctx
     HGLRC restore_gl_ctx;
 };
 
-static void WineD3D_ReleaseFakeGLContext(struct wined3d_fake_gl_ctx *ctx)
+static void WineD3D_ReleaseFakeGLContext(const struct wined3d_fake_gl_ctx *ctx)
 {
     TRACE_(d3d_caps)("Destroying fake GL context.\n");
 
-- 
1.7.3.4




More information about the wine-patches mailing list