Mesa (master): r300g: init s3tc fetching functions

Marek Olšák mareko at kemper.freedesktop.org
Thu Apr 29 01:20:51 UTC 2010


Module: Mesa
Branch: master
Commit: 95bfc8f32571751c5c9ec6d8e84f5e3c28d1b20e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=95bfc8f32571751c5c9ec6d8e84f5e3c28d1b20e

Author: Marek Olšák <maraeo at gmail.com>
Date:   Thu Apr 29 03:18:39 2010 +0200

r300g: init s3tc fetching functions

---

 src/gallium/drivers/r300/r300_screen.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 8fc1d5a..c039126 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -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;
 }
 




More information about the mesa-commit mailing list