diff options
author | Brian Paul <brianp@vmware.com> | 2009-11-02 18:42:45 +0100 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2009-11-18 09:52:33 +0100 |
commit | 4920c0a7b79a9069e04dfccdb855bb132a1fecc5 (patch) | |
tree | 667365d17ce85ec795c04abfea9df3bc7da2ecbd | |
parent | 2b8a18b514f3bfa38eedf997bcdd0160813d8b47 (diff) |
DRI: mesa: lift _mesa_set_fetch_functions() calls out of drivers
Call it from in the main Mesa glTexImage functions.
Original SHA-ID: 1a2bb37264b4448d33f2948fe1702c9dc936395d
-rw-r--r-- | dri/via_tex.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dri/via_tex.c b/dri/via_tex.c index a99aa9d..fa7542c 100644 --- a/dri/via_tex.c +++ b/dri/via_tex.c @@ -37,7 +37,6 @@ #include "main/mipmap.h" #include "main/simple_list.h" #include "main/texcompress.h" -#include "main/texfetch.h" #include "main/texformat.h" #include "main/texobj.h" #include "main/texstore.h" @@ -692,8 +691,6 @@ static void viaTexImage(GLcontext *ctx, assert(texImage->TexFormat); - _mesa_set_fetch_functions(texImage, dims); - texelBytes = _mesa_get_format_bytes(texImage->TexFormat); if (texelBytes == 0) { |