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/oscontext.h | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 3rdparty/tinygl-0.4-ugfx/include/GL/oscontext.h (limited to '3rdparty/tinygl-0.4-ugfx/include/GL/oscontext.h') diff --git a/3rdparty/tinygl-0.4-ugfx/include/GL/oscontext.h b/3rdparty/tinygl-0.4-ugfx/include/GL/oscontext.h new file mode 100644 index 00000000..a044f225 --- /dev/null +++ b/3rdparty/tinygl-0.4-ugfx/include/GL/oscontext.h @@ -0,0 +1,37 @@ +#ifndef _tgl_osbuffer_h_ +#define _tgl_osbuffer_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct { + void **zbs; + void **framebuffers; + int numbuffers; + int xsize, ysize; +} ostgl_context; + +ostgl_context * +ostgl_create_context(const int xsize, + const int ysize, + const int depth, + void **framebuffers, + const int numbuffers); +void +ostgl_delete_context(ostgl_context *context); + +void +ostgl_make_current(ostgl_context *context, const int index); + +void +ostgl_resize(ostgl_context * context, + const int xsize, + const int ysize, + void **framebuffers); + +#ifdef __cplusplus +} +#endif + +#endif /* _tgl_osbuffer_h_ */ -- cgit v1.2.3