[OPENGL32]
[reactos.git] / reactos / dll / win32 / opengl32 / icdtable.h
index 7ddca9d..2619f34 100644 (file)
@@ -5,19 +5,21 @@
 
 enum icdoffsets_e
 {
-       ICDIDX_INVALID = -1,
+    ICDIDX_INVALID = -1,
 #define ICD_ENTRY(x) ICDIDX_##x,
 #include "icdlist.h"
 #undef ICD_ENTRY
-       ICDIDX_COUNT
+    ICDIDX_COUNT
 };
 
 typedef struct tagICDTable
 {
-       DWORD   num_funcs;           /*!< Normally 336 (0x150) -- the number of functions in OpenGL 1.1 */
-       PROC    dispatch_table[812]; /*!< Table containing \a num_funcs pointers to OpenGL functions */
+    DWORD      num_funcs;           /*!< Normally 336 (0x150) -- the number of functions in OpenGL 1.1 */
+    PROC       dispatch_table[812]; /*!< Table containing \a num_funcs pointers to OpenGL functions */
 } ICDTable, *PICDTable;
 
+#define DISPATCH_TABLE_SIZE 812*sizeof(PROC)
+
 #endif /* OPENGL32_PRIVATE_ICDTABLE_H */
 
 /* EOF */