aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv04
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/nv04
parent26c9b1534388876797168cfece507fa7b9e8665a (diff)
gallium: initialize simple screen in drivers
Diffstat (limited to 'src/gallium/drivers/nv04')
-rw-r--r--src/gallium/drivers/nv04/nv04_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv04/nv04_screen.c b/src/gallium/drivers/nv04/nv04_screen.c
index 65eacde6b2e..9ce3176aa14 100644
--- a/src/gallium/drivers/nv04/nv04_screen.c
+++ b/src/gallium/drivers/nv04/nv04_screen.c
@@ -1,4 +1,5 @@
#include "pipe/p_screen.h"
+#include "util/u_simple_screen.h"
#include "nv04_context.h"
#include "nv04_screen.h"
@@ -208,6 +209,7 @@ nv04_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
screen->pipe.surface_unmap = nv04_surface_unmap;
nv04_screen_init_miptree_functions(&screen->pipe);
+ u_simple_screen_init(&screen->pipe);
return &screen->pipe;
}