diff options
author | Jakob Bornecrantz <[email protected]> | 2010-05-16 02:40:45 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-05-16 12:22:19 +0100 |
commit | 2db4ee0438fd828b378276e3d8b4498fc886ae14 (patch) | |
tree | b56f04532315e222e3a7339c9fd80613bfdd4381 /src/gallium/drivers/i965 | |
parent | c1ef21833a6dfd763fae97cd7f3bf545b8b7e87e (diff) |
i965g: Fix return for resource_get_handle
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r-- | src/gallium/drivers/i965/brw_resource_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_resource_texture.c b/src/gallium/drivers/i965/brw_resource_texture.c index 07537fe44ef..ca09d88fd12 100644 --- a/src/gallium/drivers/i965/brw_resource_texture.c +++ b/src/gallium/drivers/i965/brw_resource_texture.c @@ -210,7 +210,7 @@ brw_texture_get_handle(struct pipe_screen *screen, stride = tex->pitch * tex->cpp; - return bscreen->sws->bo_get_handle(tex->bo, whandle, stride); + return bscreen->sws->bo_get_handle(tex->bo, whandle, stride) == PIPE_OK; } |