mesa: Check/propagate return value on st_make_current.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 30 May 2009 19:41:14 +0000 (12:41 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 31 May 2009 03:29:02 +0000 (20:29 -0700)
commit8aef306c342a973f31b384a71d7a22ade9153a99
treea92df8f89639a3c4e30aab824809b20ffe100f34
parent29c6c8eb18ace95b9af6dcf34e02c2b8db0ffda8
mesa: Check/propagate return value on st_make_current.

Prevents segmentation fault when trying to set the viewport/scissor
after a context/drawable visual mismatch.
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_public.h