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/gallium/include/state_tracker | |
parent | 5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (diff) |
gallium: Fix invalidate framebuffer with old libGL libraries
Diffstat (limited to 'src/gallium/include/state_tracker')
-rw-r--r-- | src/gallium/include/state_tracker/st_api.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 1e343d0e364..e7efbf065f0 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -109,7 +109,14 @@ enum st_context_resource_type { * Value to st_manager->get_param function. */ enum st_manager_param { - ST_MANAGER_TEMP, + /** + * The dri state tracker on old libGL's doesn't do the right thing + * with regards to invalidating the framebuffers. + * + * For the mesa state tracker that means that it needs to invalidate + * the framebuffer in glViewport itself. + */ + ST_MANAGER_BROKEN_INVALIDATE }; /** |