diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-20 10:00:03 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-20 10:00:03 -0600 |
commit | a2a01853f3f40b4ef8b3f01503391877960bdaee (patch) | |
tree | ffd8f8df1aeecc3bed2c799157fac10975094f1e /src/gallium/drivers/nvfx/nvfx_state_fb.c | |
parent | 36c9557cae78814b320768697eaccf3cf0e0ebae (diff) |
gallium: replace pipe_resource::_usage with pipe_resource::usage
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_state_fb.c')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_state_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_state_fb.c b/src/gallium/drivers/nvfx/nvfx_state_fb.c index 8c215980e2..360e569f77 100644 --- a/src/gallium/drivers/nvfx/nvfx_state_fb.c +++ b/src/gallium/drivers/nvfx/nvfx_state_fb.c @@ -67,7 +67,7 @@ nvfx_state_framebuffer_validate(struct nvfx_context *nvfx) depth_only = 1; /* Render to depth buffer only */ - if (!(fb->zsbuf->texture->_usage & NVFX_RESOURCE_FLAG_LINEAR)) { + if (!(fb->zsbuf->texture->usage & NVFX_RESOURCE_FLAG_LINEAR)) { assert(!(fb->width & (fb->width - 1)) && !(fb->height & (fb->height - 1))); rt_format = NV34TCL_RT_FORMAT_TYPE_SWIZZLED | |