diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-01-23 16:34:00 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-02-01 23:30:27 -0800 |
commit | 02c6e523305de017b49d6851034fcea6c568e94c (patch) | |
tree | 18a2bed5359780828bf8306f8d2e8579d6a084c8 | |
parent | 5f95f0538e5a354431cc3bbed662c4983e6d0614 (diff) |
amd: Fix uninitialized pipe_screen.
-rw-r--r-- | src/gallium/winsys/drm/amd/amd_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/amd/amd_context.c b/src/gallium/winsys/drm/amd/amd_context.c index 7a486c93a5..df8eb850c8 100644 --- a/src/gallium/winsys/drm/amd/amd_context.c +++ b/src/gallium/winsys/drm/amd/amd_context.c @@ -243,11 +243,12 @@ GLboolean amd_context_create(const __GLcontextModes *visual, } if (GL_TRUE) { - fprintf(stderr, "Creating r300 context..."); + fprintf(stderr, "Creating r300 context...\n"); pipe = r300_create_context(NULL, amd_context->pipe_winsys, amd_create_r300_winsys(amd_context->drm_fd)); + amd_context->pipe_screen = pipe->screen; } else { pipe = amd_create_softpipe(amd_context); } |