Update drisw state tracker to use new API aware context create
authorXavier Chantry <chantry.xavier@gmail.com>
Sun, 2 May 2010 21:25:43 +0000 (23:25 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 2 May 2010 21:46:43 +0000 (17:46 -0400)
commitb44c52870dc2eec9a41e984d4dceca22ea83d334
tree64905e5efda33da8390f97ba112721ba58285cd8
parent6edb18ee35fb15c501d8ff786830ef49ccbf2952
Update drisw state tracker to use new API aware context create

Even though swrast defines its own __DriverAPIRec it still shares the
driCreateNewContext() implementation from dri_util.c.  So the CreateContext
prototypes have to match in the two __DriverAPIRecs.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
src/mesa/drivers/dri/common/drisw_util.c
src/mesa/drivers/dri/common/drisw_util.h