mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
glx: Remove a can't-happen NULL check
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20549>
This commit is contained in:
parent
9de2776e01
commit
f53ec64d68
1 changed files with 0 additions and 3 deletions
|
|
@ -492,9 +492,6 @@ driReleaseDrawables(struct glx_context *gc)
|
|||
{
|
||||
const struct glx_display *priv = gc->psc->display;
|
||||
|
||||
if (priv == NULL)
|
||||
return;
|
||||
|
||||
releaseDrawable(priv, gc->currentDrawable);
|
||||
releaseDrawable(priv, gc->currentReadable);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue