st/python: fix build error after gallium-screen-context merge

This commit is contained in:
Marek Olšák 2010-02-14 03:16:00 +01:00
parent 804a6d6a68
commit 260ec80f11

View file

@ -157,7 +157,7 @@ st_context_create(struct st_device *st_dev)
st_device_reference(&st_ctx->st_dev, st_dev);
st_ctx->pipe = st_dev->screen->create_context(st_dev->screen, NULL);
st_ctx->pipe = st_dev->screen->context_create(st_dev->screen, NULL);
if(!st_ctx->pipe) {
st_context_destroy(st_ctx);
return NULL;