TinyGL 0.4.1 for MinGW
Data Structures | Functions
nglx.c File Reference
#include <GL/gl.h>
#include <GL/nglx.h>
#include <microwin/nano-X.h>
#include "zgl.h"

Go to the source code of this file.

Data Structures

struct  TinyNGLXContext
 

Functions

NGLXContext nglXCreateContext (NGLXContext shareList, int flags)
 
void glXDestroyContext (NGLXContext ctx1)
 
int nglXMakeCurrent (NGLXDrawable drawable, NGLXContext ctx1)
 
void nglXSwapBuffers (NGLXDrawable drawable)
 

Function Documentation

◆ glXDestroyContext()

void glXDestroyContext ( NGLXContext  ctx1)

Definition at line 29 of file nglx.c.

◆ nglXCreateContext()

NGLXContext nglXCreateContext ( NGLXContext  shareList,
int  flags 
)

Definition at line 15 of file nglx.c.

◆ nglXMakeCurrent()

int nglXMakeCurrent ( NGLXDrawable  drawable,
NGLXContext  ctx1 
)

Definition at line 71 of file nglx.c.

◆ nglXSwapBuffers()

void nglXSwapBuffers ( NGLXDrawable  drawable)

Definition at line 115 of file nglx.c.