mesa: remove hack to fix up GL_ANY_SAMPLES_PASSED results
[mesa.git] / src / mesa / main / queryobj.c
index b86692a5f7e04d1767b116974fe27b42aa7a1f01..7a70b592c479435a48209e2cf88ab46bbf204bd6 100644 (file)
@@ -807,11 +807,6 @@ invalid_enum:
       return;
    }
 
-   /* TODO: Have the driver be required to handle this fixup. */
-   if (q->Target == GL_ANY_SAMPLES_PASSED ||
-       q->Target == GL_ANY_SAMPLES_PASSED_CONSERVATIVE)
-      value = !!value;
-
    switch (ptype) {
    case GL_INT: {
       GLint *param = (GLint *)offset;