projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f1b1e
)
radeon: dri2 is hooked up elsewhere now
author
Dave Airlie
<airlied@redhat.com>
Sat, 21 Mar 2009 11:38:28 +0000
(22:38 +1100)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 21 Mar 2009 11:38:28 +0000
(22:38 +1100)
src/mesa/drivers/dri/radeon/radeon_common.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_common.h
b/src/mesa/drivers/dri/radeon/radeon_common.h
index 528ea9dce4a8b0cf7c5dbfa48062baee30232fb1..c97492d742a2ab776487cc65e8598d930ab6cb19 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_common.h
+++ b/
src/mesa/drivers/dri/radeon/radeon_common.h
@@
-67,12
+67,8
@@
static inline struct radeon_renderbuffer *radeon_get_depthbuffer(radeonContextPt
static inline struct radeon_renderbuffer *radeon_get_colorbuffer(radeonContextPtr rmesa)
{
struct radeon_renderbuffer *rrb;
- struct radeon_framebuffer *rfb = rmesa->dri.drawable->driverPrivate;
rrb = rmesa->state.color.rrb;
- if (rmesa->radeonScreen->driScreen->dri2.enabled) {
- rrb = radeon_get_renderbuffer(&rfb->base, BUFFER_BACK_LEFT);
- }
if (!rrb)
return NULL;
return rrb;