Merge remote branch 'origin/mesa_7_6_branch'
[mesa.git] / src / mesa / drivers / windows / gldirect / dglcontext.c
index 5dafe14518dcbec22ae4844ce8ba4800278e9a36..e9c23d1ccb034be69bb2b3e9cc3b82893649d238 100644 (file)
@@ -1453,7 +1453,7 @@ SkipPrimaryCreate:
 #ifdef _USE_GLD3_WGL
        // Init Mesa internals
        _swrast_CreateContext( lpCtx->glCtx );
-       _ac_CreateContext( lpCtx->glCtx );
+       _vbo_CreateContext( lpCtx->glCtx );
        _tnl_CreateContext( lpCtx->glCtx );
        _swsetup_CreateContext( lpCtx->glCtx );
 
@@ -1482,6 +1482,7 @@ SkipPrimaryCreate:
 #else
        lpCtx->glCtx->Const.MaxTextureSize = 1024;
 #endif
+       lpCtx->glCtx->Const.MaxDrawBuffers = 1;
 
        // Setup the Display Driver pointers
        dglSetupDDPointers(lpCtx->glCtx);