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

This commit is contained in:
Henri Verbeet 2011-06-29 23:14:15 +02:00 committed by Alexandre Julliard
parent 2257a70e37
commit c20b23eb00
2 changed files with 2 additions and 2 deletions

View File

@ -641,7 +641,7 @@ void context_resource_unloaded(const struct wined3d_device *device,
}
}
void context_surface_update(struct wined3d_context *context, struct wined3d_surface *surface)
void context_surface_update(struct wined3d_context *context, const struct wined3d_surface *surface)
{
const struct wined3d_gl_info *gl_info = context->gl_info;
struct fbo_entry *entry = context->current_fbo;

View File

@ -1243,7 +1243,7 @@ void context_resource_unloaded(const struct wined3d_device *device,
BOOL context_set_current(struct wined3d_context *ctx) DECLSPEC_HIDDEN;
void context_set_draw_buffer(struct wined3d_context *context, GLenum buffer) DECLSPEC_HIDDEN;
void context_set_tls_idx(DWORD idx) DECLSPEC_HIDDEN;
void context_surface_update(struct wined3d_context *context, struct wined3d_surface *surface) DECLSPEC_HIDDEN;
void context_surface_update(struct wined3d_context *context, const struct wined3d_surface *surface) DECLSPEC_HIDDEN;
/* Macros for doing basic GPU detection based on opengl capabilities */
#define WINE_D3D6_CAPABLE(gl_info) (gl_info->supported[ARB_MULTITEXTURE])