diff options
author | Jakob Bornecrantz <[email protected]> | 2010-05-21 20:37:23 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-05-21 21:25:07 +0100 |
commit | a93f9f343a64ce91587af66761399f9d4c180015 (patch) | |
tree | 02fe536058d72077e38534e9388898cccac4f416 /src/mesa/state_tracker/st_manager.c | |
parent | 5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (diff) |
gallium: Fix invalidate framebuffer with old libGL libraries
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r-- | src/mesa/state_tracker/st_manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c index 869196941c3..d7523e4941e 100644 --- a/src/mesa/state_tracker/st_manager.c +++ b/src/mesa/state_tracker/st_manager.c @@ -621,15 +621,15 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi, return NULL; } - st->iface.destroy = st_context_destroy; + st->invalidate_on_gl_viewport = + smapi->get_param(smapi, ST_MANAGER_BROKEN_INVALIDATE); + st->iface.destroy = st_context_destroy; st->iface.notify_invalid_framebuffer = st_context_notify_invalid_framebuffer; st->iface.flush = st_context_flush; - st->iface.teximage = st_context_teximage; st->iface.copy = NULL; - st->iface.st_context_private = (void *) smapi; return &st->iface; |