aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv20
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/nv20
parent26c9b1534388876797168cfece507fa7b9e8665a (diff)
gallium: initialize simple screen in drivers
Diffstat (limited to 'src/gallium/drivers/nv20')
-rw-r--r--src/gallium/drivers/nv20/nv20_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv20/nv20_screen.c b/src/gallium/drivers/nv20/nv20_screen.c
index 2ca6e6b1498..f09b364b8d9 100644
--- a/src/gallium/drivers/nv20/nv20_screen.c
+++ b/src/gallium/drivers/nv20/nv20_screen.c
@@ -1,4 +1,5 @@
#include "pipe/p_screen.h"
+#include "util/u_simple_screen.h"
#include "nv20_context.h"
#include "nv20_screen.h"
@@ -200,6 +201,7 @@ nv20_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
screen->pipe.surface_unmap = nv20_surface_unmap;
nv20_screen_init_miptree_functions(&screen->pipe);
+ u_simple_screen_init(&screen->pipe);
return &screen->pipe;
}