Henri Verbeet : wined3d: Make the device parameter to context_choose_pixel_format() const.

Alexandre Julliard julliard at winehq.org
Fri Oct 21 11:01:59 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Oct 20 21:42:59 2011 +0200

wined3d: Make the device parameter to context_choose_pixel_format() const.

---

 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 fc66a98..2c26728 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1119,7 +1119,7 @@ void context_invalidate_state(struct wined3d_context *context, DWORD state)
 }
 
 /* This function takes care of wined3d pixel format selection. */
-static int context_choose_pixel_format(struct wined3d_device *device, HDC hdc,
+static int context_choose_pixel_format(const struct wined3d_device *device, HDC hdc,
         const struct wined3d_format *color_format, const struct wined3d_format *ds_format,
         BOOL auxBuffers, BOOL findCompatible)
 {




More information about the wine-cvs mailing list