mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winex11.drv: Remove unused refresh_drawables field.
The field is set but no longer read from.
This commit is contained in:
parent
72c228a3ab
commit
8e0a00db04
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue