Henri Verbeet : wined3d: Make the ctx parameter to WineD3D_ReleaseFakeGLContext() const.

Alexandre Julliard julliard at winehq.org
Wed Aug 24 14:05:20 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Aug 23 20:08:13 2011 +0200

wined3d: Make the ctx parameter to WineD3D_ReleaseFakeGLContext() const.

---

 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 7a659ee..b9cd3ad 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");
 




More information about the wine-cvs mailing list