Re: [Mesa-dev] [PATCH 3/3] mesa: move gl_texture_object::TargetIndex initializations

2015-10-06 Thread Ian Romanick
On 10/06/2015 01:00 PM, Ian Romanick wrote: > On 10/05/2015 11:18 AM, Brian Paul wrote: >> Before, we were unconditionally assigning the TargetIndex field in >> _mesa_BindTexture(), even if it was already set properly. Now we >> initialize TargetIndex wherever we initialize the Target field, in >>

Re: [Mesa-dev] [PATCH 3/3] mesa: move gl_texture_object::TargetIndex initializations

2015-10-06 Thread Ian Romanick
On 10/05/2015 11:18 AM, Brian Paul wrote: > Before, we were unconditionally assigning the TargetIndex field in > _mesa_BindTexture(), even if it was already set properly. Now we > initialize TargetIndex wherever we initialize the Target field, in > _mesa_initialize_texture_object(), finish_texture

[Mesa-dev] [PATCH 3/3] mesa: move gl_texture_object::TargetIndex initializations

2015-10-05 Thread Brian Paul
Before, we were unconditionally assigning the TargetIndex field in _mesa_BindTexture(), even if it was already set properly. Now we initialize TargetIndex wherever we initialize the Target field, in _mesa_initialize_texture_object(), finish_texture_init(), etc. --- src/mesa/main/shared.c |