projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4484ce9
)
r600: fix logic copy paste error
author
Alex Deucher
<alexdeucher@gmail.com>
Mon, 24 Aug 2009 03:56:45 +0000
(23:56 -0400)
committer
Alex Deucher
<alexdeucher@gmail.com>
Mon, 24 Aug 2009 03:56:45 +0000
(23:56 -0400)
Spotted by airlied.
src/mesa/drivers/dri/r600/r700_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_render.c
b/src/mesa/drivers/dri/r600/r700_render.c
index c8b405f55573448f2bd08f254365ed45fd280004..9c4be37aaca930637e5205c54e9d4358b55b157b 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_render.c
+++ b/
src/mesa/drivers/dri/r600/r700_render.c
@@
-336,12
+336,12
@@
static GLboolean r700RunRender(GLcontext * ctx,
r700WaitForIdleClean(context);
rrb = radeon_get_colorbuffer(&context->radeon);
- if (
!rrb || !
rrb->bo)
+ if (
rrb &&
rrb->bo)
r700SyncSurf(context, rrb->bo, 0, RADEON_GEM_DOMAIN_VRAM,
CB_ACTION_ENA_bit | (1 << (id + 6)));
rrb = radeon_get_depthbuffer(&context->radeon);
- if (
!rrb || !
rrb->bo)
+ if (
rrb &&
rrb->bo)
r700SyncSurf(context, rrb->bo, 0, RADEON_GEM_DOMAIN_VRAM,
DB_ACTION_ENA_bit | DB_DEST_BASE_ENA_bit);