From b2f7461a4d3f356fbdb6d683a2452cac617f966c Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 31 Aug 2011 13:08:33 -0500 Subject: [PATCH] wined3d: Remove an unused variable. --- dlls/wined3d/surface.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 48a5038325..7c31a47ff1 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -4197,7 +4197,6 @@ static void read_from_framebuffer(struct wined3d_surface *surface, const RECT *r static void read_from_framebuffer_texture(struct wined3d_surface *surface, BOOL srgb) { struct wined3d_device *device = surface->resource.device; - const struct wined3d_gl_info *gl_info; struct wined3d_context *context; if (!surface_is_offscreen(surface)) @@ -4214,7 +4213,6 @@ static void read_from_framebuffer_texture(struct wined3d_surface *surface, BOOL * states in the stateblock, and no driver was found yet that had bugs in that regard. */ context = context_acquire(device, surface); - gl_info = context->gl_info; device_invalidate_state(device, STATE_FRAMEBUFFER); surface_prepare_texture(surface, context, srgb); -- 2.32.0.93.g670b81a890