From a88611210fc96859b8c3250fc197c8c54c8f016d Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 23 Aug 2011 20:08:13 +0200 Subject: [PATCH] wined3d: Make the ctx parameter to WineD3D_ReleaseFakeGLContext() const. --- dlls/wined3d/directx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 7a659ee6ff3..b9cd3ad9d8a 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");