diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-12 15:24:01 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-12-12 15:24:01 -0700 |
commit | 708251558c4eb1719a0f73d83c233c7a492f2297 (patch) | |
tree | 97a44cdeb6259e8df68819d7442df4e6ac753a5f /src/mesa/pipe/i965simple/brw_context.c | |
parent | 20eae595faa20dba8a59d8a4bfd01aa6b458cecd (diff) |
PIPE_SCREEN_SURFACE no longer needed
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_context.c')
-rw-r--r-- | src/mesa/pipe/i965simple/brw_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/i965simple/brw_context.c b/src/mesa/pipe/i965simple/brw_context.c index 13bed97ff2..e69ba6938e 100644 --- a/src/mesa/pipe/i965simple/brw_context.c +++ b/src/mesa/pipe/i965simple/brw_context.c @@ -134,7 +134,7 @@ brw_get_paramf(struct pipe_context *pipe, int param) static boolean brw_is_format_supported( struct pipe_context *pipe, - uint format ) + enum pipe_format format, uint type ) { #if 0 /* XXX: This is broken -- rewrite if still needed. */ @@ -190,6 +190,8 @@ brw_is_format_supported( struct pipe_context *pipe, case PIPE_FORMAT_R5G6B5_UNORM: case PIPE_FORMAT_S8Z24_UNORM: return TRUE; + default: + return FALSE; }; return FALSE; #endif |