summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10/nv10_screen.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-01-31 15:14:38 -0500
committerZack Rusin <[email protected]>2009-01-31 15:14:38 -0500
commit969c728095e9a18036989f85610390c55ae61d5e (patch)
treede6065f69ec112c61ba486b79bfd5b02be5385e5 /src/gallium/drivers/nv10/nv10_screen.c
parent26c9b1534388876797168cfece507fa7b9e8665a (diff)
gallium: initialize simple screen in drivers
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_screen.c')
-rw-r--r--src/gallium/drivers/nv10/nv10_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv10/nv10_screen.c b/src/gallium/drivers/nv10/nv10_screen.c
index 4d9fbd4b5f6..12516fd71e7 100644
--- a/src/gallium/drivers/nv10/nv10_screen.c
+++ b/src/gallium/drivers/nv10/nv10_screen.c
@@ -1,4 +1,5 @@
#include "pipe/p_screen.h"
+#include "util/u_simple_screen.h"
#include "nv10_context.h"
#include "nv10_screen.h"
@@ -204,6 +205,7 @@ nv10_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
screen->pipe.surface_unmap = nv10_surface_unmap;
nv10_screen_init_miptree_functions(&screen->pipe);
+ u_simple_screen_init(&screen->pipe);
return &screen->pipe;
}