wined3d: remove an unused variable
Austin English
austinenglish at gmail.com
Wed Aug 31 13:08:33 CDT 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index ed047f2..74bb3c0 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4199,7 +4199,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))
@@ -4216,7 +4215,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);
More information about the wine-patches
mailing list