[OPENGL32]
[reactos.git] / reactos / dll / win32 / opengl32 / icdtable.h
1 /* icdtable.h */
2
3 #ifndef OPENGL32_PRIVATE_ICDTABLE_H
4 #define OPENGL32_PRIVATE_ICDTABLE_H
5
6 enum icdoffsets_e
7 {
8 ICDIDX_INVALID = -1,
9 #define ICD_ENTRY(x) ICDIDX_##x,
10 #include "icdlist.h"
11 #undef ICD_ENTRY
12 ICDIDX_COUNT
13 };
14
15 typedef struct tagICDTable
16 {
17 DWORD num_funcs; /*!< Normally 336 (0x150) -- the number of functions in OpenGL 1.1 */
18 PROC dispatch_table[812]; /*!< Table containing \a num_funcs pointers to OpenGL functions */
19 } ICDTable, *PICDTable;
20
21 #define DISPATCH_TABLE_SIZE 812*sizeof(PROC)
22
23 #endif /* OPENGL32_PRIVATE_ICDTABLE_H */
24
25 /* EOF */