Explorar el Código

radeon: Add missing swrast field initialization.

This is the equivalent of intel's
80513ec8b4.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
undefined
Eric Anholt hace 12 años
padre
commit
0de08fb594
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/mesa/drivers/dri/radeon/radeon_texture.c

+ 3
- 0
src/mesa/drivers/dri/radeon/radeon_texture.c Ver fichero

@@ -120,6 +120,9 @@ radeonAllocTextureImageBuffer(struct gl_context *ctx,
}
assert(!image->base.ImageOffsets);
image->base.ImageOffsets = malloc(slices * sizeof(GLuint));

_swrast_init_texture_image(timage);

teximage_assign_miptree(rmesa, texobj, timage);
return GL_TRUE;

Cargando…
Cancelar
Guardar