mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
wined3d: Make the surface parameter to context_surface_update() const.
This commit is contained in:
parent
2257a70e37
commit
c20b23eb00
@ -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;
|
||||
|
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user