r300g: init s3tc fetching functions
authorMarek Olšák <maraeo@gmail.com>
Thu, 29 Apr 2010 01:18:39 +0000 (03:18 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 29 Apr 2010 01:18:42 +0000 (03:18 +0200)
src/gallium/drivers/r300/r300_screen.c

index 8fc1d5aa00ee86705674b304f48ad85c9d911a19..c03912670317f9d047b569f220f57069627a184b 100644 (file)
@@ -22,6 +22,7 @@
  * USE OR OTHER DEALINGS IN THE SOFTWARE. */
 
 #include "util/u_format.h"
+#include "util/u_format_s3tc.h"
 #include "util/u_memory.h"
 
 #include "r300_context.h"
@@ -319,6 +320,8 @@ struct pipe_screen* r300_create_screen(struct r300_winsys_screen *rws)
 
     r300_init_screen_resource_functions(r300screen);
 
+    util_format_s3tc_init();
+
     return &r300screen->screen;
 }