mesa: move updating clamp control derived state out of mesa_update_state_locked
authorMarek Olšák <maraeo@gmail.com>
Thu, 28 Mar 2013 01:48:17 +0000 (02:48 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 6 Apr 2013 21:57:09 +0000 (23:57 +0200)
commit9d4f67600b0a8f4b37eb2ed45b194e153669d11a
tree2c3dafb839c1d656950f3fce16d400d883d51601
parent755648c37fc7a54ed0b11c868fd4c7fe28b2f861
mesa: move updating clamp control derived state out of mesa_update_state_locked

It has 2 dependencies: glClampColor and the framebuffer, we might just as well
do the update where those two are changed.

v2: cosmetic changes from Brian's email

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/blend.c
src/mesa/main/blend.h
src/mesa/main/framebuffer.c
src/mesa/main/state.c