Re: [Mesa-dev] [PATCH v2 03/21] mesa: Remove unnecessary parameters from TexImage

2012-06-20 Thread Kenneth Graunke
On 06/12/2012 11:38 AM, Pauli Nieminen wrote: > gl_texture_image structure always holds size and internal format before > TexImage driver hook is called. Those passing same information in > function parameters only duplicates information making the interface > harder to understand. > > Signed-off-

[Mesa-dev] [PATCH v2 03/21] mesa: Remove unnecessary parameters from TexImage

2012-06-12 Thread Pauli Nieminen
gl_texture_image structure always holds size and internal format before TexImage driver hook is called. Those passing same information in function parameters only duplicates information making the interface harder to understand. Signed-off-by: Pauli Nieminen Reviewed-by: Brian Paul --- src/mesa