jdk/src/java.desktop/share/native/common/java2d/opengl/OGLContext.c
changeset 31158 062c7363dd12
parent 28076 64c048b63cea
child 31882 0268245131a9
--- a/jdk/src/java.desktop/share/native/common/java2d/opengl/OGLContext.c	Fri May 29 08:58:46 2015 +0900
+++ b/jdk/src/java.desktop/share/native/common/java2d/opengl/OGLContext.c	Fri May 29 18:32:58 2015 +0300
@@ -750,7 +750,7 @@
     // finally, check to see if the hardware supports the required number
     // of texture units
     j2d_glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS_ARB, &maxTexUnits);
-    if (maxTexUnits < 4) {
+    if (maxTexUnits < 2) {
         J2dRlsTraceLn1(J2D_TRACE_INFO,
           "OGLContext_IsLCDShaderSupportAvailable: not enough tex units (%d)",
           maxTexUnits);