summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-01-31 15:14:38 -0500
committerZack Rusin <zackr@vmware.com>2009-01-31 15:14:38 -0500
commit969c728095e9a18036989f85610390c55ae61d5e (patch)
treede6065f69ec112c61ba486b79bfd5b02be5385e5 /src/gallium/drivers/i915simple
parent26c9b1534388876797168cfece507fa7b9e8665a (diff)
gallium: initialize simple screen in drivers
Diffstat (limited to 'src/gallium/drivers/i915simple')
-rw-r--r--src/gallium/drivers/i915simple/i915_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_screen.c b/src/gallium/drivers/i915simple/i915_screen.c
index 069cc331bb..5bb127f3d5 100644
--- a/src/gallium/drivers/i915simple/i915_screen.c
+++ b/src/gallium/drivers/i915simple/i915_screen.c
@@ -27,6 +27,7 @@
#include "util/u_memory.h"
+#include "util/u_simple_screen.h"
#include "pipe/internal/p_winsys_screen.h"
#include "pipe/p_inlines.h"
#include "util/u_string.h"
@@ -279,6 +280,7 @@ i915_create_screen(struct pipe_winsys *winsys, uint pci_id)
i915screen->screen.surface_unmap = i915_surface_unmap;
i915_init_screen_texture_functions(&i915screen->screen);
+ u_simple_screen_init(&i915screen->screen);
return &i915screen->screen;
}