Signed-off-by: Henri Verbeet hverbeet@codeweavers.com --- dlls/wined3d/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 6742f21cc80..2d22409d50b 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -4238,7 +4238,7 @@ struct wined3d_context *wined3d_context_gl_acquire(const struct wined3d_device * { context_gl = current_context; } - else if (texture && !wined3d_resource_is_offscreen(&texture->resource)) + else if (!wined3d_resource_is_offscreen(&texture->resource)) { TRACE("Rendering onscreen.\n");