diff options
author | Dave Airlie <[email protected]> | 2008-12-21 09:54:35 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2008-12-21 09:54:35 +1000 |
commit | 9f2732d3128a1482d4d7feacd98efaf7bdcc4eef (patch) | |
tree | 60e453103634b3d2195fd9406d2888348df83439 | |
parent | 72cd2c8c0c863873d280a0e49dfa381e5c3236c8 (diff) |
radeno: hopefully make r200/radeon build
-rw-r--r-- | src/mesa/drivers/dri/r200/Makefile | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r200/Makefile b/src/mesa/drivers/dri/r200/Makefile index e9144ac75ce..7064f423dc9 100644 --- a/src/mesa/drivers/dri/r200/Makefile +++ b/src/mesa/drivers/dri/r200/Makefile @@ -48,7 +48,9 @@ SYMLINKS = \ COMMON_SYMLINKS = \ radeon_chipset.h \ radeon_screen.c \ - radeon_screen.h + radeon_screen.h \ + radeon_bo_legacy.h \ + radeon_buffer.h ##### TARGETS ##### diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 0dda28edc38..d5795095070 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -1338,7 +1338,7 @@ radeonCreateBuffer( __DRIscreenPrivate *driScrnPriv, driDrawPriv); radeonSetSpanFunctions(depthRb, mesaVis); _mesa_add_renderbuffer(fb, BUFFER_DEPTH, &depthRb->Base); - depthRb->has_surface = screen->depthHasSurface; + // depthRb->has_surface = screen->depthHasSurface; } else if (mesaVis->depthBits == 24) { driRenderbuffer *depthRb @@ -1349,7 +1349,7 @@ radeonCreateBuffer( __DRIscreenPrivate *driScrnPriv, driDrawPriv); radeonSetSpanFunctions(depthRb, mesaVis); _mesa_add_renderbuffer(fb, BUFFER_DEPTH, &depthRb->Base); - depthRb->has_surface = screen->depthHasSurface; + // depthRb->has_surface = screen->depthHasSurface; } /* stencil renderbuffer */ @@ -1362,7 +1362,7 @@ radeonCreateBuffer( __DRIscreenPrivate *driScrnPriv, driDrawPriv); radeonSetSpanFunctions(stencilRb, mesaVis); _mesa_add_renderbuffer(fb, BUFFER_STENCIL, &stencilRb->Base); - stencilRb->has_surface = screen->depthHasSurface; + //stencilRb->has_surface = screen->depthHasSurface; } _mesa_add_soft_renderbuffers(fb, |