diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2004-10-16 03:36:14 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2004-10-16 03:36:14 +0000 |
commit | b1ebd306bf4fdc4076d3d3daa410b08f477cb4c4 (patch) | |
tree | e815feb8221211e716d664be7093e5f344efcf3d /src/mesa/drivers/dri/r200/r200_vtxfmt.h | |
parent | a1af92877d3d91886cf01be9e6c65311960e3baf (diff) |
Add code to support projective texturing and fix mixed enabling of texture
coordinate generation. Original code by Roland Schiedegger, with changes by
myself. While here, ensure that the swtcl path does tnl_install_attrs enough
when fog/specular are being (en/dis)abled.
Notable effects:
- projtex test works with TCL and is closer with swtcl (Bugzilla #1461)
- 8/9 squares work in texgenmix instead of 3.
- texcyl "reflect" mode works (GL_SPHERE_MAP is now a fallback -- unclear if the
hardware can actually support it).
- flickering in doom3 replaced by just plain darkness.
- blocktube fixed (Bugzilla #984)
- fixes stex3d
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_vtxfmt.h')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_vtxfmt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_vtxfmt.h b/src/mesa/drivers/dri/r200/r200_vtxfmt.h index 39f0a10e4e..071a74082f 100644 --- a/src/mesa/drivers/dri/r200/r200_vtxfmt.h +++ b/src/mesa/drivers/dri/r200/r200_vtxfmt.h @@ -52,6 +52,7 @@ extern void r200VtxfmtMakeCurrent( GLcontext *ctx ); extern void r200VtxfmtUnbindContext( GLcontext *ctx ); extern void r200_copy_to_current( GLcontext *ctx ); +extern void VFMT_FALLBACK( const char *caller ); #define DFN( FUNC, CACHE) \ do { \ |