Henri Verbeet : wined3d: Make the surface parameter to surface_is_offscreen () const.
Alexandre Julliard
julliard at winehq.org
Fri Jun 24 13:53:59 CDT 2011
Module: wine
Branch: master
Commit: 0ce282edf7b56ab2b82d61b7370558f9a627a0ad
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ce282edf7b56ab2b82d61b7370558f9a627a0ad
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Jun 23 11:43:37 2011 +0200
wined3d: Make the surface parameter to surface_is_offscreen() const.
---
dlls/wined3d/surface.c | 2 +-
dlls/wined3d/wined3d_private.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 945640f..3682e10 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -6207,7 +6207,7 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD flag, const
return WINED3D_OK;
}
-BOOL surface_is_offscreen(struct wined3d_surface *surface)
+BOOL surface_is_offscreen(const struct wined3d_surface *surface)
{
struct wined3d_swapchain *swapchain = surface->container.u.swapchain;
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index ed8ae0d..e23b917 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2110,7 +2110,7 @@ HRESULT surface_color_fill(struct wined3d_surface *s, const RECT *rect, const WI
GLenum surface_get_gl_buffer(struct wined3d_surface *surface) DECLSPEC_HIDDEN;
BOOL surface_init_sysmem(struct wined3d_surface *surface) DECLSPEC_HIDDEN;
void surface_internal_preload(struct wined3d_surface *surface, enum WINED3DSRGB srgb) DECLSPEC_HIDDEN;
-BOOL surface_is_offscreen(struct wined3d_surface *surface) DECLSPEC_HIDDEN;
+BOOL surface_is_offscreen(const struct wined3d_surface *surface) DECLSPEC_HIDDEN;
HRESULT surface_load(struct wined3d_surface *surface, BOOL srgb) DECLSPEC_HIDDEN;
void surface_load_ds_location(struct wined3d_surface *surface,
struct wined3d_context *context, DWORD location) DECLSPEC_HIDDEN;
More information about the wine-cvs
mailing list