aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gdi-win32.cfg
blob: 7d831c7b9c49f2e1207de2899f1480cdc8fbcfda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This .cfg file is used to generate the interface to the wgl routines
# used internally by the WindowsGLContext implementation.
JavaOutputDir gensrc/classes
NativeOutputDir gensrc/native/jogl/Windows

Package com.jogamp.opengl.impl.windows.wgl
JavaClass GDI
Style AllStatic
Include gl-common.cfg
Include gl-common-extensions.cfg
Include gl-desktop.cfg

GLHeader wingdi.h

AllowNonGLExtensions true

CustomCCode #define WIN32_LEAN_AND_MEAN
CustomCCode #include <windows.h>
CustomCCode #undef WIN32_LEAN_AND_MEAN

CustomCCode #include <wingdi.h>
CustomCCode #include <stddef.h>

Include ../intptr.cfg

IncludeAs CustomCCode gdi-CustomCCode.c