diff options
author | Corbin Simpson <[email protected]> | 2009-02-01 23:43:30 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:43:30 -0800 |
commit | 38f610e5360a2beb46f92e75942745cfbfbac22a (patch) | |
tree | 5ac0cd65350eb674a0704f5d2bdc9b4ea6cde997 /src/gallium/drivers | |
parent | e6e6b493b6123df675d5222b0e78087a370aea01 (diff) |
r300: Add u_simple_screen support.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 607dfe911c6..99dcf38f431 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -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; } diff --git a/src/gallium/drivers/r300/r300_screen.h b/src/gallium/drivers/r300/r300_screen.h index b45ce5e8c6d..2e25f61dbf1 100644 --- a/src/gallium/drivers/r300/r300_screen.h +++ b/src/gallium/drivers/r300/r300_screen.h @@ -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" |