amd: Fix uninitialized pipe_screen.
This commit is contained in:
parent
5f95f0538e
commit
02c6e52330
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue