1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-01 07:14:31 +00:00

winex11.drv: Remove unused refresh_drawables field.

The field is set but no longer read from.
This commit is contained in:
Alexandros Frantzis 2024-02-28 09:23:40 +02:00 committed by Alexandre Julliard
parent 72c228a3ab
commit 8e0a00db04

View File

@ -205,7 +205,6 @@ struct wgl_context
GLXContext ctx;
struct gl_drawable *drawables[2];
struct gl_drawable *new_drawables[2];
BOOL refresh_drawables;
struct list entry;
};
@ -1870,7 +1869,6 @@ static BOOL glxdrv_wglMakeCurrent(HDC hdc, struct wgl_context *ctx)
ctx->has_been_current = TRUE;
ctx->hdc = hdc;
set_context_drawables( ctx, gl, gl );
ctx->refresh_drawables = FALSE;
pthread_mutex_unlock( &context_mutex );
goto done;
}
@ -1915,7 +1913,6 @@ static BOOL X11DRV_wglMakeContextCurrentARB( HDC draw_hdc, HDC read_hdc, struct
ctx->has_been_current = TRUE;
ctx->hdc = draw_hdc;
set_context_drawables( ctx, draw_gl, read_gl );
ctx->refresh_drawables = FALSE;
NtCurrentTeb()->glContext = ctx;
pthread_mutex_unlock( &context_mutex );
goto done;