mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
st/wgl: add a comment about recursive locking in stw_make_current()
Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
f45b644e11
commit
3e74038280
1 changed files with 4 additions and 0 deletions
|
|
@ -441,6 +441,10 @@ stw_make_current(HDC hdc, DHGLRC dhglrc)
|
|||
/* Bind the new framebuffer */
|
||||
ctx->hdc = hdc;
|
||||
|
||||
/* Note: when we call this function we will wind up in the
|
||||
* stw_st_framebuffer_validate_locked() function which will incur
|
||||
* a recursive fb->mutex lock.
|
||||
*/
|
||||
ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st,
|
||||
fb->stfb, fb->stfb);
|
||||
stw_framebuffer_reference(&ctx->current_framebuffer, fb);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue