diff options
author | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-03-18 11:52:24 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-03-18 11:58:40 +0100 |
commit | d405ba3151de9585a310b7e2ebcae09302c0dbe4 (patch) | |
tree | 5aa2ce6fe3196ec3779cd95699a5ea8a220a50c2 /src/gallium/state_trackers/glx/xlib/xm_api.h | |
parent | ae36fadb7f137cd7f53dccb58d1a73fc46ccc26b (diff) |
xlib st: Fix makeCurrent.
Flush if we change context.
Also reinstate the old optimization of doing nothing if
nothing changes.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib/xm_api.h')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.h b/src/gallium/state_trackers/glx/xlib/xm_api.h index 2b8302d174..bdd434cd36 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.h +++ b/src/gallium/state_trackers/glx/xlib/xm_api.h @@ -295,6 +295,7 @@ struct xmesa_context { struct st_context *st; XMesaVisual xm_visual; /** pixel format info */ XMesaBuffer xm_buffer; /** current drawbuffer */ + XMesaBuffer xm_read_buffer; /** current readbuffer */ }; |