Compare commits

...

2 Commits

Author SHA1 Message Date
Brian Paul
33c0b3e233 patches from Karl 2002-11-13 22:26:23 +00:00
Brian Paul
658145bd82 fix compilation problem (Philippe Houdoin) 2002-11-13 22:21:47 +00:00

View File

@@ -1,8 +1,8 @@
/* $Id: GLView.cpp,v 1.7 2002/10/17 14:25:30 brianp Exp $ */ /* $Id: GLView.cpp,v 1.7.2.1 2002/11/13 22:21:47 brianp Exp $ */
/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
* Version: 4.1 * Version: 5.0
* *
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
* *
@@ -38,7 +38,6 @@ extern "C" {
#include "extensions.h" #include "extensions.h"
#include "macros.h" #include "macros.h"
#include "matrix.h" #include "matrix.h"
#include "mem.h"
#include "mmath.h" #include "mmath.h"
#include "mtypes.h" #include "mtypes.h"
#include "texformat.h" #include "texformat.h"
@@ -276,9 +275,7 @@ BGLView::BGLView(BRect rect, char *name,
); );
// create core context // create core context
__GLimports imports; GLcontext * ctx = _mesa_create_context(visual, NULL, md, GL_FALSE);
_mesa_init_default_imports(&imports, md);
GLcontext * ctx = _mesa_create_context( visual, NULL, &imports);
// create core framebuffer // create core framebuffer
@@ -648,7 +645,7 @@ void MesaDriver::UnlockGL()
void MesaDriver::SwapBuffers() const void MesaDriver::SwapBuffers() const
{ {
// _mesa_swap_buffers(); // _mesa_notifySwapBuffers(m_glcontext);
if (m_bitmap) { if (m_bitmap) {
m_bglview->LockLooper(); m_bglview->LockLooper();