mirror of
https://github.com/reactos/wine.git
synced 2025-02-03 18:53:17 +00:00
wined3d: Make the context parameter to context_attach_depth_stencil_fbo() const.
This commit is contained in:
parent
0bae611bf5
commit
a8de1272da
@ -112,7 +112,7 @@ static void context_destroy_fbo(struct wined3d_context *context, GLuint *fbo)
|
||||
}
|
||||
|
||||
/* GL locking is done by the caller */
|
||||
void context_attach_depth_stencil_fbo(struct wined3d_context *context,
|
||||
void context_attach_depth_stencil_fbo(const struct wined3d_context *context,
|
||||
GLenum fbo_target, struct wined3d_surface *depth_stencil, BOOL use_render_buffer)
|
||||
{
|
||||
const struct wined3d_gl_info *gl_info = context->gl_info;
|
||||
|
@ -1224,7 +1224,7 @@ BOOL context_apply_clear_state(struct wined3d_context *context, struct wined3d_d
|
||||
BOOL context_apply_draw_state(struct wined3d_context *context, struct wined3d_device *device) DECLSPEC_HIDDEN;
|
||||
void context_apply_fbo_state_blit(struct wined3d_context *context, GLenum target,
|
||||
struct wined3d_surface *render_target, struct wined3d_surface *depth_stencil, DWORD location) DECLSPEC_HIDDEN;
|
||||
void context_attach_depth_stencil_fbo(struct wined3d_context *context,
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user