TinyGL 0.4.1 for MinGW
Typedefs | Functions
nglx.h File Reference
#include <microwin/nano-X.h>
#include <GL/gl.h>

Go to the source code of this file.

Typedefs

typedef void * NGLXContext
 
typedef GR_DRAW_ID NGLXDrawable
 

Functions

NGLXContext nglXCreateContext (NGLXContext shareList, int flags)
 
void nglXDestroyContext (NGLXContext ctx)
 
int nglXMakeCurrent (NGLXDrawable drawable, NGLXContext ctx)
 
void nglXSwapBuffers (NGLXDrawable drawable)
 

Typedef Documentation

◆ NGLXContext

typedef void* NGLXContext

Definition at line 11 of file nglx.h.

◆ NGLXDrawable

typedef GR_DRAW_ID NGLXDrawable

Definition at line 12 of file nglx.h.

Function Documentation

◆ nglXCreateContext()

NGLXContext nglXCreateContext ( NGLXContext  shareList,
int  flags 
)

Definition at line 15 of file nglx.c.

◆ nglXDestroyContext()

void nglXDestroyContext ( NGLXContext  ctx)

◆ nglXMakeCurrent()

int nglXMakeCurrent ( NGLXDrawable  drawable,
NGLXContext  ctx 
)

Definition at line 71 of file nglx.c.

◆ nglXSwapBuffers()

void nglXSwapBuffers ( NGLXDrawable  drawable)

Definition at line 115 of file nglx.c.