From edbc47100fd65e5d1acc85e4ac51fba9cfec4735 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 27 Oct 2016 21:13:20 +1300 Subject: message in gl2es2pipeline DEP class improved when DisplayList use attempted --- src/main/java/org/jogamp/java3d/Jogl2es2DEPPipeline.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/jogamp/java3d/Jogl2es2DEPPipeline.java b/src/main/java/org/jogamp/java3d/Jogl2es2DEPPipeline.java index 8af36f4..f0fffb7 100644 --- a/src/main/java/org/jogamp/java3d/Jogl2es2DEPPipeline.java +++ b/src/main/java/org/jogamp/java3d/Jogl2es2DEPPipeline.java @@ -54,7 +54,7 @@ abstract class Jogl2es2DEPPipeline extends Pipeline int texCoordSetMapLen, int[] texCoordSetMapOffset, int vertexAttrCount, int[] vertexAttrSizes, double[] xform, double[] nxform, float[] varray) { - throw new UnsupportedOperationException("DisplayLists in use!. When using the gl2es2pipeline you should can use \n" + throw new UnsupportedOperationException("DisplayLists in use!. When using the gl2es2pipeline you can use \n" + "System.setProperty(\"j3d.displaylist\", \"false\"); to avoid this issue. \n" + "Please note the recommended solution is to use NIO buffers. \n" + VALID_FORMAT_MESSAGE); } @@ -68,7 +68,7 @@ abstract class Jogl2es2DEPPipeline extends Pipeline int[] vertexAttrSizes, int[] vertexAttrIndices, float[][] vertexAttrData, int texCoordMapLength, int[] tcoordsetmap, int[] texIndices, int texStride, Object[] texCoords, double[] xform, double[] nxform) { - throw new UnsupportedOperationException("DisplayLists in use!. When using the gl2es2pipeline you should can use \n" + throw new UnsupportedOperationException("DisplayLists in use!. When using the gl2es2pipeline you can use \n" + "System.setProperty(\"j3d.displaylist\", \"false\"); to avoid this issue. \n" + "Please note the recommended solution is to use NIO buffers. \n" + VALID_FORMAT_MESSAGE); } @@ -82,8 +82,9 @@ abstract class Jogl2es2DEPPipeline extends Pipeline int vertexAttrCount, int[] vertexAttrSizes, int texCoordSetCount, int[] texCoordSetMap, int texCoordSetMapLen, int[] texCoordSetMapOffset, double[] xform, double[] nxform, float[] varray, int[] indexCoord) { - throw new UnsupportedOperationException("DLists in use!. When using the gl2es2pipeline you should also use \n" - + "System.setProperty(\"j3d.displaylist\", \"false\"); to avoid this issue. \n" + VALID_FORMAT_MESSAGE); + throw new UnsupportedOperationException("DisplayLists in use!. When using the gl2es2pipeline you can use \n" + + "System.setProperty(\"j3d.displaylist\", \"false\"); to avoid this issue. \n" + + "Please note the recommended solution is to use NIO buffers. \n" + VALID_FORMAT_MESSAGE); } // --------------------------------------------------------------------- -- cgit v1.2.3