From 3b21507274aa4f98644382903ae529c1fc2c7bd4 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 20 Aug 2014 01:36:33 +1000 Subject: GL3D GWIN window + demo --- 3rdparty/tinygl-0.4-ugfx/include/GL/nglx.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 3rdparty/tinygl-0.4-ugfx/include/GL/nglx.h (limited to '3rdparty/tinygl-0.4-ugfx/include/GL/nglx.h') diff --git a/3rdparty/tinygl-0.4-ugfx/include/GL/nglx.h b/3rdparty/tinygl-0.4-ugfx/include/GL/nglx.h new file mode 100644 index 00000000..d2f6114f --- /dev/null +++ b/3rdparty/tinygl-0.4-ugfx/include/GL/nglx.h @@ -0,0 +1,27 @@ +#ifndef NGLX_H +#define NGLX_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef void *NGLXContext; +typedef GR_DRAW_ID NGLXDrawable; + +extern NGLXContext nglXCreateContext( NGLXContext shareList, int flags ); + +extern void nglXDestroyContext( NGLXContext ctx ); + +extern int nglXMakeCurrent( NGLXDrawable drawable, + NGLXContext ctx); + +extern void nglXSwapBuffers( NGLXDrawable drawable ); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3