cell: fix build

compile fix for cell driver.

Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marc Dietrich
2010-04-06 23:44:08 +02:00
committed by Brian Paul
parent 45c8909148
commit 0963099d5e
2 changed files with 4 additions and 1 deletions
@@ -138,6 +138,9 @@ cell_is_format_supported( struct pipe_screen *screen,
unsigned tex_usage,
unsigned geom_flags )
{
struct sw_winsys *winsys = cell_screen(screen)->winsys;
if (tex_usage & (PIPE_TEXTURE_USAGE_DISPLAY_TARGET |
PIPE_TEXTURE_USAGE_SCANOUT |
PIPE_TEXTURE_USAGE_SHARED)) {
+1 -1
View File
@@ -105,7 +105,7 @@ cell_displaytarget_layout(struct pipe_screen *screen,
/* Round up the surface size to a multiple of the tile size?
*/
ct->dt = winsys->displaytarget_create(winsys,
ct->base->tex_usage,
ct->base.tex_usage,
ct->base.format,
ct->base.width0,
ct->base.height0,