Searched refs:type_valid (Results 1 - 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Dteximage.c1623 bool type_valid = true; local
1629 type_valid = (type == GL_UNSIGNED_BYTE
1635 type_valid = (type == GL_UNSIGNED_BYTE
1642 type_valid = (type == GL_UNSIGNED_BYTE
1653 type_valid = (type == GL_UNSIGNED_SHORT
1660 type_valid = (type == GL_UNSIGNED_INT_24_8);
1664 type_valid = (type == GL_UNSIGNED_BYTE);
1679 return type_valid ? GL_NO_ERROR : GL_INVALID_OPERATION;

Completed in 171 milliseconds