summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/winsys/drm/amd/Makefile2
-rw-r--r--src/gallium/winsys/drm/amd/amd_context.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/amd/Makefile b/src/gallium/winsys/drm/amd/Makefile
index a1b5602c055..0f23e3446c2 100644
--- a/src/gallium/winsys/drm/amd/Makefile
+++ b/src/gallium/winsys/drm/amd/Makefile
@@ -23,6 +23,6 @@ ASM_SOURCES =
include ../Makefile.template
-DRI_LIB_DEPS += -ldrm-radeon
+DRI_LIB_DEPS += -ldrm_radeon
symlinks:
diff --git a/src/gallium/winsys/drm/amd/amd_context.c b/src/gallium/winsys/drm/amd/amd_context.c
index 5127cdf261a..632caec6a73 100644
--- a/src/gallium/winsys/drm/amd/amd_context.c
+++ b/src/gallium/winsys/drm/amd/amd_context.c
@@ -243,6 +243,7 @@ GLboolean amd_context_create(const __GLcontextModes *visual,
}
if (GL_TRUE) {
+ /* XXX second arg should be PCI ID, but damned if I know why */
amd_context->pipe_screen = r300_create_screen(amd_context->pipe_winsys,
0x0);
pipe = r300_create_context(amd_context->pipe_screen,