r300: Add u_simple_screen support.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 2 Feb 2009 07:43:30 +0000 (23:43 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 2 Feb 2009 07:43:30 +0000 (23:43 -0800)
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_screen.h

index 607dfe911c69314aa5d936d8381c6bb062f0c51e..99dcf38f43103a9b92e8ec59e49397b504c14bd9 100644 (file)
@@ -264,6 +264,7 @@ struct pipe_screen* r300_create_screen(struct pipe_winsys* winsys,
     r300screen->screen.surface_unmap = r300_surface_unmap;
 
     r300_init_screen_texture_functions(&r300screen->screen);
+    u_simple_screen_init(&r300screen->screen);
 
     return &r300screen->screen;
 }
index b45ce5e8c6d741af380e272b15422755c3afdb79..2e25f61dbf136517dd73da52739bd74d1ce5cbe3 100644 (file)
@@ -26,6 +26,7 @@
 #include "pipe/p_inlines.h"
 #include "pipe/p_screen.h"
 #include "util/u_memory.h"
+#include "util/u_simple_screen.h"
 
 #include "r300_chipset.h"
 #include "r300_texture.h"