diff options
author | Eric Anholt <[email protected]> | 2007-12-19 14:26:14 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2007-12-20 11:26:34 -0800 |
commit | 101abee6c4fc2c9284ff2ba6f9f9138327d6963d (patch) | |
tree | 3e5f900202359ed4ffcf36b872bbff1b6719352b /src/mesa/drivers/dri/i915 | |
parent | b2f62609d02b91cc42c786200fa0c123e1fd2dcb (diff) |
[intel] Fix and reenable (software) SGIS_generate_mipmap
The core problem was that _mesa_generate_mipmap was not respecting RowStride
of the source image. Additionally, the intel private data associated with the
images (level and face) was not being initialized for the
_mesa_generate_mipmap-generated images.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 5d34642a5dc..f407f7ec475 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -202,7 +202,7 @@ const struct dri_extension card_extensions[] = { {"GL_NV_blend_square", NULL}, {"GL_NV_vertex_program", GL_NV_vertex_program_functions}, {"GL_NV_vertex_program1_1", NULL}, -/* { "GL_SGIS_generate_mipmap", NULL }, */ + { "GL_SGIS_generate_mipmap", NULL }, {NULL, NULL} }; |