Re: [Mesa-dev] [PATCH 2/2] meta: Drop ctx->API checks.

2014-02-27 Thread Eric Anholt
Kenneth Graunke writes: > 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

[Mesa-dev] [PATCH 2/2] meta: Drop ctx->API checks.

2014-02-26 Thread Kenneth Graunke
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 c