Austin English : wined3d: Remove an unused variable.
Alexandre Julliard
julliard at winehq.org
Thu Sep 1 11:55:57 CDT 2011
Module: wine
Branch: master
Commit: b2f7461a4d3f356fbdb6d683a2452cac617f966c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b2f7461a4d3f356fbdb6d683a2452cac617f966c
Author: Austin English <austinenglish at gmail.com>
Date: Wed Aug 31 13:08:33 2011 -0500
wined3d: Remove an unused variable.
---
dlls/wined3d/surface.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 48a5038..7c31a47 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);
More information about the wine-cvs
mailing list