Skip to content
Commit 658d4e8e authored by Adam Jackson's avatar Adam Jackson Committed by Dylan Baker
Browse files

glx: Don't allow glXMakeContextCurrent() with only one valid drawable



Drawable and readable need to either both be None or both be non-None.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit d257ec01)
parent e681c0eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment