summaryrefslogtreecommitdiff
path: root/src/radeon_vbo.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-07 17:25:47 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-07 17:25:47 -0400
commit8c544272f218fd8bd93a898b96afedc2498b27bb (patch)
tree57df75c823c4a0c090cf5305c3b9e3933257e5f1 /src/radeon_vbo.h
parent81360adffb2a66b9a95a38671f9227a9718c9841 (diff)
fix the non-kms build
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=30685
Diffstat (limited to 'src/radeon_vbo.h')
-rw-r--r--src/radeon_vbo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_vbo.h b/src/radeon_vbo.h
index 21533c2e..f64930e2 100644
--- a/src/radeon_vbo.h
+++ b/src/radeon_vbo.h
@@ -24,7 +24,9 @@ radeon_vbo_space(ScrnInfoPtr pScrn,
struct radeon_vbo_object *vbo,
int vert_size)
{
+#if defined(XF86DRM_MODE)
RADEONInfoPtr info = RADEONPTR(pScrn);
+#endif
void *vb;
/* we've ran out of space in the vertex buffer - need to get a