TinyGL 0.4.1 for MinGW
Macros | Typedefs | Functions
gdi.h File Reference
#include <GL/gl.h>

Go to the source code of this file.

Macros

#define MWPF_TRUECOLOR565   99
 

Typedefs

typedef void * GDIContext
 

Functions

GDIContext gdiCreateContext (GDIContext shareList, int flags)
 
void gdiDestroyContext (GDIContext ctx)
 
int gdiMakeCurrent (HWND drawable, GDIContext ctx, int width, int height)
 
void gdiSwapBuffers (HWND drawable)
 

Macro Definition Documentation

◆ MWPF_TRUECOLOR565

#define MWPF_TRUECOLOR565   99

Definition at line 27 of file gdi.h.

Typedef Documentation

◆ GDIContext

typedef void* GDIContext

Definition at line 11 of file gdi.h.

Function Documentation

◆ gdiCreateContext()

GDIContext gdiCreateContext ( GDIContext  shareList,
int  flags 
)

Definition at line 34 of file gdi.c.

◆ gdiDestroyContext()

void gdiDestroyContext ( GDIContext  ctx)

Definition at line 49 of file gdi.c.

◆ gdiMakeCurrent()

int gdiMakeCurrent ( HWND  drawable,
GDIContext  ctx,
int  width,
int  height 
)

Definition at line 109 of file gdi.c.

◆ gdiSwapBuffers()

void gdiSwapBuffers ( HWND  drawable)

Definition at line 171 of file gdi.c.