mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
dri/swrast: make unbind a noop
This is for loading swrast_dri.so from libGL. MakeContextCurrent() seems to unbind the context right after binding it and DRI drivers also have a noop DriverAPI.UnbindContext ...
This commit is contained in:
parent
341987f688
commit
7ffb1230b3
1 changed files with 0 additions and 1 deletions
|
|
@ -695,7 +695,6 @@ static int driUnbindContext(__DRIcontext *ctx)
|
|||
{
|
||||
TRACE;
|
||||
(void) ctx;
|
||||
_mesa_make_current(NULL, NULL, NULL);
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue