OSDN Git Service

nouveau: Wait on notifier to check for completion of previous commands.
[android-x86/external-mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_context.c
index 7aca31d..d68f4e7 100644 (file)
@@ -222,7 +222,8 @@ GLboolean nouveauCreateContext( const __GLcontextModes *glVisual,
                        break;
        }
 
-       nouveauSyncInitFuncs(ctx);
+       if (!nouveauSyncInitFuncs(ctx))
+          return GL_FALSE;
        nmesa->hw_func.InitCard(nmesa);
         nouveauInitState(ctx);