summaryrefslogtreecommitdiffstats
path: root/src/VBox/GuestHost/OpenGL/include/cr_calllists.h
blob: 4d9d067007b0829b805bc1568016fbe0b2231b86 (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
27
28
/* Copyright (c) 2001, Stanford University
 * All rights reserved
 *
 * See the file LICENSE.txt for information on redistributing this software.
 */

#ifndef CR_CALLLISTS_H
#define CR_CALLLISTS_H

#include <iprt/cdefs.h>

#ifdef __cplusplus
extern "C" {
#endif

extern DECLEXPORT(int)
crExpandCallLists(GLsizei n, GLenum type, const GLvoid *lists, 
    GLuint base, void (*callListFunc)(GLuint list));

extern DECLEXPORT(int)
crExpandCallListsWithData(GLsizei n, GLenum type, const GLvoid *lists, 
    GLuint base, void (*callListFunc)(GLuint list, GLuint index, GLvoid *data), GLvoid *data);

#ifdef __cplusplus
}
#endif

#endif /* CR_CALLLISTS_H */