TinyGL 0.4.1 for MinGW
TinyGL.MinGW-master
include
GL
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
8
extern
"C"
{
9
#endif
10
11
typedef
void
*
GDIContext
;
12
13
extern
GDIContext
gdiCreateContext
(
GDIContext
shareList,
int
flags );
14
15
extern
void
gdiDestroyContext
(
GDIContext
ctx );
16
17
extern
int
gdiMakeCurrent
( HWND drawable,
GDIContext
ctx,
int
width,
int
height );
18
19
extern
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
gdiDestroyContext
void gdiDestroyContext(GDIContext ctx)
Definition:
gdi.c:49
gdiCreateContext
GDIContext gdiCreateContext(GDIContext shareList, int flags)
Definition:
gdi.c:34
gdiSwapBuffers
void gdiSwapBuffers(HWND drawable)
Definition:
gdi.c:171
GDIContext
void * GDIContext
Definition:
gdi.h:11
gdiMakeCurrent
int gdiMakeCurrent(HWND drawable, GDIContext ctx, int width, int height)
Definition:
gdi.c:109
gl.h
Generated by
1.9.2