aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-16 02:40:45 +0100
committerJakob Bornecrantz <[email protected]>2010-05-16 12:22:19 +0100
commit2db4ee0438fd828b378276e3d8b4498fc886ae14 (patch)
treeb56f04532315e222e3a7339c9fd80613bfdd4381 /src/gallium/drivers
parentc1ef21833a6dfd763fae97cd7f3bf545b8b7e87e (diff)
i965g: Fix return for resource_get_handle
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i965/brw_resource_texture.c2
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;
}