summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/amd/amd_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/amd/amd_context.c')
-rw-r--r--src/gallium/winsys/drm/amd/amd_context.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/winsys/drm/amd/amd_context.c b/src/gallium/winsys/drm/amd/amd_context.c
index 53311684de..7a486c93a5 100644
--- a/src/gallium/winsys/drm/amd/amd_context.c
+++ b/src/gallium/winsys/drm/amd/amd_context.c
@@ -244,11 +244,10 @@ GLboolean amd_context_create(const __GLcontextModes *visual,
if (GL_TRUE) {
fprintf(stderr, "Creating r300 context...");
- /* XXX today we pretend to be a very lame R300 vvvvvv */
- pipe = r300_create_context(NULL,
- amd_context->pipe_winsys,
- amd_create_r300_winsys(amd_context->drm_fd,
- 0x4144));
+ pipe =
+ r300_create_context(NULL,
+ amd_context->pipe_winsys,
+ amd_create_r300_winsys(amd_context->drm_fd));
} else {
pipe = amd_create_softpipe(amd_context);
}