summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/glamo/glamo_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/glamo/glamo_context.c')
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_context.c b/src/mesa/drivers/dri/glamo/glamo_context.c
index a0769a27ee..d9990ae8e1 100644
--- a/src/mesa/drivers/dri/glamo/glamo_context.c
+++ b/src/mesa/drivers/dri/glamo/glamo_context.c
@@ -131,7 +131,7 @@ GLboolean glamoCreateContext(const __GLcontextModes *glVisual,
context->driContext = driContextPriv;
context->driScreen = sPriv;
context->driDrawable = NULL;
- context->driFd = sPriv->fd;
+ context->drm_fd = sPriv->fd;
/* Initialize the software rasterizer and helper modules. */
_swrast_CreateContext(ctx);
@@ -148,7 +148,7 @@ GLboolean glamoCreateContext(const __GLcontextModes *glVisual,
_tnl_allow_pixel_fog(ctx, GL_TRUE);
_tnl_allow_vertex_fog(ctx, GL_FALSE);
- glamoInitCmdq(context);
+ GlamoInitCmdqCache(context);
glamoInitStateFuncs(ctx);
glamoInitTriFuncs(ctx);