Nice cleanup, some style nitpicks (for old code) to consider below.
all 3 patches are
Reviewed-by: Tapani Pälli
On 10/01/2015 12:36 AM, Brian Paul wrote:
Before, we were doing the actual _mesa_reference_texobj() call and
ctx->Driver.BindTexture() and misc housekeeping in three different
places
Before, we were doing the actual _mesa_reference_texobj() call and
ctx->Driver.BindTexture() and misc housekeeping in three different
places. This consolidates the common code in a new bind_texture()
function.
---
src/mesa/main/texobj.c | 200 +++--
1 f