NT4/private/windows/opengl/inc/glsize.h

12 lines
319 B
C
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
#ifndef __GLSIZE_H__
#define __GLSIZE_H__
#define RANGE(n, a, b) \
(((unsigned)(n) >= (unsigned)(a)) && ((unsigned)(n) <= (unsigned)(b)))
#define __GLTYPESIZE(n) __glTypeSize[(n)-GL_BYTE]
extern GLint __glTypeSize[];
// #define RANGE_GLTYPESIZE(n) RANGE(n,GL_BYTE,GL_DOUBLE)
#endif /* !__GLSIZE_H__ */