ReactOS
0.4.16-dev-258-g81860b4
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 Thu Nov 14 2024 06:03:16 for ReactOS by
1.9.6