shithub: tinygl

ref: e215ef38e157469b503c7322b22d4a80875f8ae9
dir: /include/GL/nglx_unused.h/

View raw version
#ifndef NGLX_H
#define NGLX_H

#include <microwin/nano-X.h>
#include "GL/gl.h"

#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