Changeset 2962 for trunk/src/opengl/mesa/get.c
- Timestamp:
- Mar 1, 2000, 7:50:02 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/get.c
r2938 r2962 1 /* $Id: get.c,v 1. 1 2000-02-29 00:50:04 sandervlExp $ */1 /* $Id: get.c,v 1.2 2000-03-01 18:49:29 jeroen Exp $ */ 2 2 3 3 /* … … 38 38 #include "GL/xf86glx.h" 39 39 #endif 40 #include "types.h" 40 41 #include "context.h" 41 42 #include "enable.h" … … 45 46 #include "macros.h" 46 47 #include "mmath.h" 47 #include "types.h"48 48 #include "vb.h" 49 49 #endif … … 51 51 52 52 53 #define FLOAT_TO_BOOL(X) 54 #define INT_TO_BOOL(I) 55 #define ENUM_TO_BOOL(E) 53 #define FLOAT_TO_BOOL(X) ( (X)==0.0F ? GL_FALSE : GL_TRUE ) 54 #define INT_TO_BOOL(I) ( (I)==0 ? GL_FALSE : GL_TRUE ) 55 #define ENUM_TO_BOOL(E) ( (E)==0 ? GL_FALSE : GL_TRUE ) 56 56 57 57 #ifdef SPECIALCAST
Note:
See TracChangeset
for help on using the changeset viewer.