diff options
author | Brian <[email protected]> | 2007-05-17 08:54:08 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-05-17 08:54:08 -0600 |
commit | 6ee6b2dcd96fafae8d924d617e54e32a2aa8c5ea (patch) | |
tree | d86c7fb972f381e9b3263b14c1bf5136289f0a0a /src/mesa/main/attrib.c | |
parent | 347bb541f5a89f59e502888a5ae486bc52abfb66 (diff) | |
parent | 67f82731fcb87f789135e07f691d41ebd12f0015 (diff) |
Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r-- | src/mesa/main/attrib.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index e2cfb8a1f66..4654704afd1 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -744,6 +744,18 @@ pop_texture_group(GLcontext *ctx, const struct gl_texture_attrib *texAttrib) target = GL_TEXTURE_RECTANGLE_NV; obj = &unit->SavedRect; break; + case 5: + if (!ctx->Extensions.MESA_texture_array) + continue; + target = GL_TEXTURE_1D_ARRAY_EXT; + obj = &unit->Saved1DArray; + break; + case 6: + if (!ctx->Extensions.MESA_texture_array) + continue; + target = GL_TEXTURE_2D_ARRAY_EXT; + obj = &unit->Saved2DArray; + break; default: ; /* silence warnings */ } |