[Mesa-dev] [PATCH v4 1/2] glx: fix error code when there is no context bound

Emil Velikov emil.l.velikov at gmail.com
Tue Jun 14 15:08:15 UTC 2016


n 7 June 2016 at 11:33, Tapani Pälli <tapani.palli at intel.com> wrote:
> From: Bernard Kilarski <bernard.r.kilarski at intel.com>
>
> v2: change all related NULL checks to check against dummyContext
> v3: really check for dummyContext *only* when ctx was from
>     __glXGetCurrentContext
> v4: cover more checks, add dummyBuffer, dummyVtable (Emil)
>
Thanks for the update Tapani. There's a minor comment below, but
regardless if you go for it or not the patch is
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

> +GLubyte dummyBuffer[__GLX_BUFFER_LIMIT_SIZE];
> +struct glx_context_vtable dummyVtable;
Make these two static ?

-Emil


More information about the mesa-dev mailing list