changeset 8002:d7ac4b8e6371

Redo fix to RT-38555: Shader compile failure with PickTest3D on i.MX6 Reviewed by kcr
author Chien Yang <chien.yang@oracle.com>
date Mon, 08 Sep 2014 16:57:08 -0700
parents 65b4034a7da1
children 965623d2f60c
files modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java	Mon Sep 08 15:58:17 2014 -0700
+++ b/modules/graphics/src/main/java/com/sun/prism/es2/ES2PhongMaterial.java	Mon Sep 08 16:57:08 2014 -0700
@@ -98,7 +98,7 @@
                 }
             }
             // Enable mipmap if platform isn't embedded and map is diffuse or self illum
-            boolean useMipmap = (!PlatformUtil.isEmbedded()) && (i == PhongMaterial.DIFFUSE) || (i == PhongMaterial.SELF_ILLUM);
+            boolean useMipmap = (!PlatformUtil.isEmbedded()) && (i == PhongMaterial.DIFFUSE || i == PhongMaterial.SELF_ILLUM);
             texture = setupTexture(maps[i], useMipmap);
             maps[i].setTexture(texture);
             maps[i].setDirty(false);