st: expose KHR_blend_equation_advanced if PIPE_CAP_BLEND_EQUATION_ADVANCED
[mesa.git] / src / mesa / state_tracker / st_cb_drawtex.c
index 4960a55e98696ed47ba7de62f5025a2ed1c89914..3ea5cffb51261b6c40165967fc3009c1ec65451e 100644 (file)
@@ -219,7 +219,7 @@ st_DrawTex(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
          return;
       }
 
-      z = CLAMP(z, 0.0f, 1.0f);
+      z = SATURATE(z);
 
       /* positions (in clip coords) */
       {