TinyGL 0.4.1 for MinGW
gdi.h
Go to the documentation of this file.
1#ifndef _tinygl_GDI_H
2#define _tinygl_GDI_H
3
4
5#include <GL/gl.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef void *GDIContext;
12
13extern GDIContext gdiCreateContext( GDIContext shareList, int flags );
14
15extern void gdiDestroyContext( GDIContext ctx );
16
17extern int gdiMakeCurrent( HWND drawable, GDIContext ctx, int width, int height );
18
19extern void gdiSwapBuffers( HWND drawable );
20
21
22#ifdef __cplusplus
23}
24#endif
25
26
27#define MWPF_TRUECOLOR565 99
28
29#endif //_tinygl_GDI_H
void gdiDestroyContext(GDIContext ctx)
Definition: gdi.c:49
GDIContext gdiCreateContext(GDIContext shareList, int flags)
Definition: gdi.c:34
void gdiSwapBuffers(HWND drawable)
Definition: gdi.c:171
void * GDIContext
Definition: gdi.h:11
int gdiMakeCurrent(HWND drawable, GDIContext ctx, int width, int height)
Definition: gdi.c:109