mesa: pass gl_texture_object as arg to not depend on state
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 2 Jul 2019 09:32:06 +0000 (11:32 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 20 Jul 2019 00:03:57 +0000 (20:03 -0400)
commit9dd1f7cec010775d2fd378dc496b7fe7cc40e812
tree002081bfc6a7e4f6329d2313959bb52922d92636
parent0d8826f723cd8868b5271f17f18a1ab4548a1199
mesa: pass gl_texture_object as arg to not depend on state

This will allow to use the same functions for EXT_dsa implementation.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/teximage.c