wined3d: Make the surface parameter to surface_is_offscreen() const.
This commit is contained in:
parent
0b2bd0c903
commit
0ce282edf7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue