Home
last modified time | relevance | path

Searched refs:BOOLEAN_TO_FLOAT (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/main/
Dget.c85 #define BOOLEAN_TO_FLOAT(B) ( (B) ? 1.0F : 0.0F ) macro
1593 params[0] = BOOLEAN_TO_FLOAT(*(GLboolean*) p); in _mesa_GetFloatv()
1617 params[0] = BOOLEAN_TO_FLOAT((*(GLbitfield *) p >> shift) & 1); in _mesa_GetFloatv()
2540 params[0] = BOOLEAN_TO_FLOAT(v.value_bool); in _mesa_GetFloati_v()
2622 params[0] = (GLdouble) BOOLEAN_TO_FLOAT(v.value_bool); in _mesa_GetDoublei_v()