diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-09-19 08:03:46 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-09-19 08:03:46 +0000 |
commit | c59270e2b82abe9bcb0af6a1593b81772f6306d3 (patch) | |
tree | 5e915e6244527f16cbc5a9497e614043bc39de54 /src/mesa/drivers/dri/i915/i830_vtbl.c | |
parent | b9bbe780313d584974307389a67ca94ad65de3c0 (diff) |
Add GL_ARB_texture_cube_map support for i830. Most of the code was
lifted from the i915 side. i830 will now report version 1.3! Hurrah!
With the exception of GL_EXT_texture_compression_s3tc, the i830 driver
now supports all the extensions that its Windows counterpart supports.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i830_vtbl.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/i830_vtbl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_vtbl.c b/src/mesa/drivers/dri/i915/i830_vtbl.c index b0a7287c90..22939e8e5c 100644 --- a/src/mesa/drivers/dri/i915/i830_vtbl.c +++ b/src/mesa/drivers/dri/i915/i830_vtbl.c @@ -121,11 +121,15 @@ static void i830_render_start( intelContextPtr intel ) switch (sz) { case 1: case 2: - case 3: /* XXX: fix for CUBE/VOLUME textures */ emit = EMIT_2F; sz = 2; mcs |= TEXCOORDTYPE_CARTESIAN; break; + case 3: + emit = EMIT_3F; + sz = 3; + mcs |= TEXCOORDTYPE_VECTOR; + break; case 4: emit = EMIT_3F_XYW; sz = 3; |