mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
mesa: remove pointless assignments in init_teximage_fields_ms()
The NumSamples and FixedSampleLocation fields are set again later at the end of the function so these earlier assignments aren't needed. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
1820ef64c9
commit
aeade86db5
1 changed files with 0 additions and 3 deletions
|
|
@ -813,9 +813,6 @@ init_teximage_fields_ms(struct gl_context *ctx,
|
|||
img->Width2 = width - 2 * border; /* == 1 << img->WidthLog2; */
|
||||
img->WidthLog2 = _mesa_logbase2(img->Width2);
|
||||
|
||||
img->NumSamples = 0;
|
||||
img->FixedSampleLocations = GL_TRUE;
|
||||
|
||||
switch(target) {
|
||||
case GL_TEXTURE_1D:
|
||||
case GL_TEXTURE_BUFFER:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue