Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
319 B

  1. #ifndef __GLSIZE_H__
  2. #define __GLSIZE_H__
  3. #define RANGE(n, a, b) \
  4. (((unsigned)(n) >= (unsigned)(a)) && ((unsigned)(n) <= (unsigned)(b)))
  5. #define __GLTYPESIZE(n) __glTypeSize[(n)-GL_BYTE]
  6. extern GLint __glTypeSize[];
  7. // #define RANGE_GLTYPESIZE(n) RANGE(n,GL_BYTE,GL_DOUBLE)
  8. #endif /* !__GLSIZE_H__ */