Replaced all the Mesa specific code by GLX code. Should work now on
any OpenGL implementation.
diff --git a/graphics/d3dexecutebuffer.c b/graphics/d3dexecutebuffer.c
index f24a552..7db3e23 100644
--- a/graphics/d3dexecutebuffer.c
+++ b/graphics/d3dexecutebuffer.c
@@ -186,6 +186,8 @@
if (TRACE_ON(ddraw))
_dump_executedata(&(ilpBuff->data));
+ ENTER_GL();
+
while (1) {
LPD3DINSTRUCTION current = (LPD3DINSTRUCTION) instr;
BYTE size;
@@ -657,6 +659,7 @@
}
end_of_buffer:
+ LEAVE_GL();
}
/*******************************************************************************