fix glx up for newest glitz interface
This commit is contained in:
parent
d822bc1596
commit
c59508566f
|
@ -3671,9 +3671,10 @@ xglInitExtensions (xglGLContextPtr pContext)
|
||||||
static void
|
static void
|
||||||
xglSetCurrentContext (xglGLContextPtr pContext)
|
xglSetCurrentContext (xglGLContextPtr pContext)
|
||||||
{
|
{
|
||||||
|
XGL_SCREEN_PRIV (pContext->pDrawBuffer->pGC->pScreen);
|
||||||
cctx = pContext;
|
cctx = pContext;
|
||||||
|
|
||||||
glitz_context_make_current (cctx->context);
|
glitz_context_make_current (cctx->context, pScreenPriv->drawable);
|
||||||
|
|
||||||
__glRenderTable = &__glNativeRenderTable;
|
__glRenderTable = &__glNativeRenderTable;
|
||||||
__glRenderTableEXT = &cctx->glRenderTableEXT;
|
__glRenderTableEXT = &cctx->glRenderTableEXT;
|
||||||
|
@ -4759,8 +4760,7 @@ xglInitVisualConfigs (ScreenPtr pScreen)
|
||||||
|
|
||||||
glitz_surface_attach (pScreenPriv->backSurface,
|
glitz_surface_attach (pScreenPriv->backSurface,
|
||||||
pScreenPriv->drawable,
|
pScreenPriv->drawable,
|
||||||
GLITZ_DRAWABLE_BUFFER_BACK_COLOR,
|
GLITZ_DRAWABLE_BUFFER_BACK_COLOR);
|
||||||
0, 0);
|
|
||||||
|
|
||||||
numConfig *= 2;
|
numConfig *= 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue