diff options
author | Kenneth Graunke <[email protected]> | 2014-02-26 17:40:43 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-27 10:07:40 -0800 |
commit | 085f61bd4eb4e75c705cc82ce8c2ecacff6b8383 (patch) | |
tree | fdb80fe66f8f77a65ad39c6f5497b43e17f4ae11 /src/gallium | |
parent | cf719a0204effd787fab6f285d72af9c1c144544 (diff) |
meta: Drop ctx->API checks.
API is always API_OPENGL_COMPAT (since commit 4e4a537ad55f61a25,
"meta: Push into desktop GL mode when doing meta operations."),
so most of these checks do nothing.
We could instead check save->API to only bother setting/restoring
relevant GL state, but I'm not sure saving a few _mesa_set_enable
calls is worth the complexity. My understanding is the point of
the ctx->API guards was to avoid raising GL errors.
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions