st/python: fix build error after gallium-screen-context merge
authorMarek Olšák <maraeo@gmail.com>
Sun, 14 Feb 2010 02:16:00 +0000 (03:16 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 14 Feb 2010 02:20:09 +0000 (03:20 +0100)
src/gallium/state_trackers/python/st_device.c

index 1146a8b0c380b109dd4a0a27e0df7b8a398c5b9d..a3798a5521231d47880b7140431a418a77f2b2ac 100644 (file)
@@ -157,7 +157,7 @@ st_context_create(struct st_device *st_dev)
    
    st_device_reference(&st_ctx->st_dev, 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;
    if(!st_ctx->pipe) {
       st_context_destroy(st_ctx);
       return NULL;