Commit 0ce282ed authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Make the surface parameter to surface_is_offscreen() const.

parent 0b2bd0c9
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment