diff options
author | Marek Olšák <[email protected]> | 2017-02-22 19:59:27 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-02-25 00:03:09 +0100 |
commit | e027935a795ecf546f3e4abcc25655766f9615ac (patch) | |
tree | 0022dfc08cfa224309eee5f5913fa0b9a95c7c57 /src/mesa/state_tracker/st_vdpau.h | |
parent | cc2f92b09f8ab0470106185585fdc1282da523e6 (diff) |
st/mesa: don't update unrelated states in non-draw calls such as Clear
If a VAO isn't bound and u_vbuf isn't enabled because of the Core profile,
we'll get user vertex buffers in drivers if we update vertex buffers
in glClear. So don't do that.
This fixes a regression since disabling u_vbuf for Core profiles.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_vdpau.h')
0 files changed, 0 insertions, 0 deletions