gallium/osmesa: add same checks to OSMesaMakeCurrent as the other osmesa
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 20 Aug 2013 10:35:28 +0000 (12:35 +0200)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 20 Aug 2013 10:36:17 +0000 (12:36 +0200)
commit86751cbddfa762a6dbd01fd07102ba91bb90b8e5
tree23284ab77e16819858d1edf4a310e5296b7d79b5
parent603160d4c0ff3b5ec594aed4ee7f8e161626946d
gallium/osmesa: add same checks to OSMesaMakeCurrent as the other osmesa

Fixes a opengl crash in wine.

Cc: "9.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/gallium/state_trackers/osmesa/osmesa.c