Commit b3b1d205 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Make the context parameter to context_check_fbo_status() const.

parent c2c0bec0
......@@ -219,7 +219,7 @@ static void context_attach_surface_fbo(const struct wined3d_context *context,
}
/* GL locking is done by the caller */
void context_check_fbo_status(struct wined3d_context *context, GLenum target)
void context_check_fbo_status(const struct wined3d_context *context, GLenum target)
{
const struct wined3d_gl_info *gl_info = context->gl_info;
GLenum status;
......@@ -233,7 +233,7 @@ void context_check_fbo_status(struct wined3d_context *context, GLenum target)
}
else
{
struct wined3d_surface *attachment;
const struct wined3d_surface *attachment;
unsigned int i;
FIXME("FBO status %s (%#x)\n", debug_fbostatus(status), status);
......
......@@ -1227,7 +1227,7 @@ void context_apply_fbo_state_blit(struct wined3d_context *context, GLenum target
void context_attach_depth_stencil_fbo(const struct wined3d_context *context,
GLenum fbo_target, struct wined3d_surface *depth_stencil, BOOL use_render_buffer) DECLSPEC_HIDDEN;
void context_bind_fbo(struct wined3d_context *context, GLenum target, GLuint *fbo) DECLSPEC_HIDDEN;
void context_check_fbo_status(struct wined3d_context *context, GLenum target) DECLSPEC_HIDDEN;
void context_check_fbo_status(const struct wined3d_context *context, GLenum target) DECLSPEC_HIDDEN;
struct wined3d_context *context_create(struct wined3d_swapchain *swapchain, struct wined3d_surface *target,
const struct wined3d_format *ds_format) DECLSPEC_HIDDEN;
void context_destroy(struct wined3d_device *device, struct wined3d_context *context) 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