wined3d: Make the surface parameter to surface_translate_drawable_coords() const.
This commit is contained in:
parent
bb4b86f365
commit
faebcc0236
|
@ -4975,7 +4975,7 @@ static void fb_copy_to_texture_hwstretch(struct wined3d_surface *dst_surface, st
|
||||||
* drawable is limited to the window's client area. The sysmem and texture
|
* drawable is limited to the window's client area. The sysmem and texture
|
||||||
* copies do have the full screen size. Note that GL has a bottom-left
|
* copies do have the full screen size. Note that GL has a bottom-left
|
||||||
* origin, while D3D has a top-left origin. */
|
* origin, while D3D has a top-left origin. */
|
||||||
void surface_translate_drawable_coords(struct wined3d_surface *surface, HWND window, RECT *rect)
|
void surface_translate_drawable_coords(const struct wined3d_surface *surface, HWND window, RECT *rect)
|
||||||
{
|
{
|
||||||
UINT drawable_height;
|
UINT drawable_height;
|
||||||
|
|
||||||
|
|
|
@ -2086,7 +2086,7 @@ void surface_set_container(struct wined3d_surface *surface,
|
||||||
enum wined3d_container_type type, void *container) DECLSPEC_HIDDEN;
|
enum wined3d_container_type type, void *container) DECLSPEC_HIDDEN;
|
||||||
void surface_set_texture_name(struct wined3d_surface *surface, GLuint name, BOOL srgb_name) DECLSPEC_HIDDEN;
|
void surface_set_texture_name(struct wined3d_surface *surface, GLuint name, BOOL srgb_name) DECLSPEC_HIDDEN;
|
||||||
void surface_set_texture_target(struct wined3d_surface *surface, GLenum target) DECLSPEC_HIDDEN;
|
void surface_set_texture_target(struct wined3d_surface *surface, GLenum target) DECLSPEC_HIDDEN;
|
||||||
void surface_translate_drawable_coords(struct wined3d_surface *surface, HWND window, RECT *rect) DECLSPEC_HIDDEN;
|
void surface_translate_drawable_coords(const struct wined3d_surface *surface, HWND window, RECT *rect) DECLSPEC_HIDDEN;
|
||||||
void surface_upload_data(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info,
|
void surface_upload_data(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info,
|
||||||
const struct wined3d_format *format, const RECT *src_rect, UINT src_w, const POINT *dst_point,
|
const struct wined3d_format *format, const RECT *src_rect, UINT src_w, const POINT *dst_point,
|
||||||
BOOL srgb, const struct wined3d_bo_address *data) DECLSPEC_HIDDEN;
|
BOOL srgb, const struct wined3d_bo_address *data) DECLSPEC_HIDDEN;
|
||||||
|
|
Loading…
Reference in New Issue