Commit 0963099d authored by Marc Dietrich's avatar Marc Dietrich Committed by Brian Paul
Browse files

cell: fix build



compile fix for cell driver.
Signed-off-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 45c89091
......@@ -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)) {
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment