Various fallbacks, checks and tags.
[mesa.git] / src / mesa / drivers / dri / ffb / ffb_tex.c
index ba1103e2e529774bd98871a249639f1f3b1d1dc1..d6763b7cd3ebdeaf54c3a8fed4a4d59b41897cc0 100644 (file)
  *    David S. Miller <davem@redhat.com>
  */
 
-#include <GL/gl.h>
-#include "texformat.h"
-#include "texstore.h"
-#include "swrast/swrast.h"
-
+#include "glheader.h"
+#include "mtypes.h"
 #include "ffb_tex.h"
 
 /* No texture unit, all software. */
+/* XXX this function isn't needed since _mesa_init_driver_functions()
+ * will make all these assignments.
+ */
 void ffbDDInitTexFuncs(GLcontext *ctx)
 {
+        /*
        ctx->Driver.ChooseTextureFormat = _mesa_choose_tex_format;
        ctx->Driver.TexImage1D = _mesa_store_teximage1d;
        ctx->Driver.TexImage2D = _mesa_store_teximage2d;
@@ -48,4 +49,5 @@ void ffbDDInitTexFuncs(GLcontext *ctx)
        ctx->Driver.CopyTexSubImage2D = _swrast_copy_texsubimage2d;
        ctx->Driver.CopyTexSubImage3D = _swrast_copy_texsubimage3d;
        ctx->Driver.TestProxyTexImage = _mesa_test_proxy_teximage;
+       */
 }