dri: Use the right type for the API token
authornobled <nobled@dreamwidth.org>
Tue, 7 Sep 2010 16:20:15 +0000 (12:20 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 7 Sep 2010 16:26:33 +0000 (12:26 -0400)
commit1b8c9fef1128cfeee5e5ba75ba7d645522cc76c2
treec44be4110fe6694573b65e88b2d208cf5d971dd8
parent28c790ab3118ee4c4171120cba2abf2ae3e84805
dri: Use the right type for the API token

Pass mesa_api to CreateContext, and abort early
if the requested API isn't recognized.
src/mesa/drivers/dri/common/dri_util.c