wined3d: Make the device and target parameters to FindContext() const.

This commit is contained in:
Henri Verbeet 2011-06-23 00:02:36 +02:00 committed by Alexandre Julliard
parent 5a26da1d19
commit c4da128b8f
1 changed files with 1 additions and 1 deletions

View File

@ -1923,7 +1923,7 @@ static void SetupForBlit(struct wined3d_device *device, struct wined3d_context *
}
/* Do not call while under the GL lock. */
static struct wined3d_context *FindContext(struct wined3d_device *device, struct wined3d_surface *target)
static struct wined3d_context *FindContext(const struct wined3d_device *device, const struct wined3d_surface *target)
{
struct wined3d_context *current_context = context_get_current();
struct wined3d_context *context;