nv50-nvc0: set cur_ctx during init if none currently bound
authorBen Skeggs <bskeggs@redhat.com>
Tue, 1 Mar 2011 04:37:06 +0000 (14:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 1 Mar 2011 04:44:42 +0000 (14:44 +1000)
commit48e191f90cbb7735cadf30c444e1fb599311c55a
treea3c8d7ac6474a878286c02450fd71af37c53e272
parentf80c03e1875fe96ff2f4c022e3cb76357828140d
nv50-nvc0: set cur_ctx during init if none currently bound

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nv50/nv50_context.c
src/gallium/drivers/nvc0/nvc0_context.c