summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/xorg/glcore.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-04-18 17:34:24 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-04-23 11:12:30 +0300
commit32a2a095f4d8e3be7fa2807cb436bd09e8eb5a75 (patch)
tree79a7f3b191cd6370d357a2da243edcf24068b59e /src/mesa/drivers/xorg/glcore.c
parentb3efd35f4bdd62cf36b6f59be602fa8781db9b89 (diff)
glcore: build from mesa
Diffstat (limited to 'src/mesa/drivers/xorg/glcore.c')
-rw-r--r--src/mesa/drivers/xorg/glcore.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mesa/drivers/xorg/glcore.c b/src/mesa/drivers/xorg/glcore.c
new file mode 100644
index 0000000000..a0199117c6
--- /dev/null
+++ b/src/mesa/drivers/xorg/glcore.c
@@ -0,0 +1,24 @@
+
+#define _NEED_GL_CORE_IF
+#include <GL/xmesa.h>
+#include <GL/internal/glcore.h>
+#include "xmesaP.h"
+
+PUBLIC
+__GLcoreModule GL_Core = {
+ XMesaCreateVisual,
+ XMesaDestroyVisual,
+
+ XMesaCreateWindowBuffer,
+ XMesaCreatePixmapBuffer,
+ XMesaDestroyBuffer,
+ XMesaSwapBuffers,
+ XMesaResizeBuffers,
+
+ XMesaCreateContext,
+ XMesaDestroyContext,
+ XMesaCopyContext,
+ XMesaMakeCurrent2,
+ XMesaForceCurrent,
+ XMesaLoseCurrent
+};