Commiting a few minor fixes to glut fbdev (segfault on a separate stack)
[mesa.git] / src / mesa / drivers / beos / GLView.cpp
index 45473a8ef279d47f5f6399261e91d157dc84d45c..9e4a7ebe56ed639f3070ce6cc26b1d23e6090fa7 100644 (file)
@@ -43,7 +43,7 @@ extern "C" {
 #include "texobj.h"
 #include "teximage.h"
 #include "texstore.h"
-#include "array_cache/acache.h"
+#include "vbo/vbo.h"
 #include "swrast/swrast.h"
 #include "swrast_setup/swrast_setup.h"
 #include "swrast/s_context.h"
@@ -344,7 +344,7 @@ BGLView::BGLView(BRect rect, char *name,
    /* Initialize the software rasterizer and helper modules.
     */
    _swrast_CreateContext(ctx);
-   _ac_CreateContext(ctx);
+   _vbo_CreateContext(ctx);
    _tnl_CreateContext(ctx);
    _swsetup_CreateContext(ctx);
    _swsetup_Wakeup(ctx);
@@ -830,7 +830,7 @@ void MesaDriver::UpdateState( GLcontext *ctx, GLuint new_state )
 
        _swrast_InvalidateState( ctx, new_state );
        _swsetup_InvalidateState( ctx, new_state );
-       _ac_InvalidateState( ctx, new_state );
+       _vbo_InvalidateState( ctx, new_state );
        _tnl_InvalidateState( ctx, new_state );
 
        if (ctx->Color.DrawBuffer[0] == GL_FRONT) {