ReactOS
0.4.16-dev-433-g6363f78
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
apistubs.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS kernel
4
* FILE: lib/opengl32/apistubs.c
5
* PURPOSE: OpenGL32 lib, glXXX functions
6
*/
7
8
#include "
opengl32.h
"
9
10
11
12
#ifndef __i386__
13
14
#define USE_GL_FUNC(name, proto_args, call_args, offset, stack) \
15
void GLAPIENTRY gl##name proto_args \
16
{ \
17
const GLDISPATCHTABLE * Dispatch = IntGetCurrentDispatchTable(); \
18
if (!Dispatch) \
19
return; \
20
Dispatch->name call_args ; \
21
}
22
23
#define USE_GL_FUNC_RET(name, ret_type, proto_args, call_args, offset, stack) \
24
ret_type GLAPIENTRY gl##name proto_args \
25
{ \
26
const GLDISPATCHTABLE * Dispatch = IntGetCurrentDispatchTable(); \
27
if (!Dispatch) \
28
return 0; \
29
return Dispatch->name call_args ; \
30
}
31
32
#include "
glfuncs.h
"
33
34
#endif
//__i386__
35
36
/* Unknown debug function */
37
GLint
GLAPIENTRY
glDebugEntry
(
GLint
unknown1,
GLint
unknown2)
38
{
39
return
0;
40
}
glDebugEntry
GLint GLAPIENTRY glDebugEntry(GLint unknown1, GLint unknown2)
Definition:
apistubs.c:37
GLAPIENTRY
#define GLAPIENTRY
Definition:
glu.h:44
GLint
int GLint
Definition:
gl.h:156
glfuncs.h
opengl32.h
dll
opengl
opengl32
apistubs.c
Generated on Tue Jan 7 2025 06:08:00 for ReactOS by
1.9.6