From: Hyunjong.park Date: Tue, 26 Aug 2014 02:29:32 +0000 (+0900) Subject: opengl : fix. exception for not find uniform data X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41a6562bc13e0417d8466ffee7826be470501edc;p=sdk%2Ftools%2Fdynamic-analyzer.git opengl : fix. exception for not find uniform data Signed-off-by: Hyunjong.park Change-Id: I39d695eae634456793559ba2e4ffc1bf752a7245 --- diff --git a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLExtractUniformDataMaker.java b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLExtractUniformDataMaker.java index 46a0e89..290e4f0 100644 --- a/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLExtractUniformDataMaker.java +++ b/org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/opengl/GLExtractUniformDataMaker.java @@ -73,6 +73,9 @@ public class GLExtractUniformDataMaker { private String getUniformParameterValue(String parameter) { String[] parameterArray = getParameterArray(parameter); StringBuffer returnUniform = new StringBuffer(); + if(null == parameterArray){ + return parameter; + } for (int i = 1; i < parameterArray.length; i++) { returnUniform.append(parameterArray[i]); if (i != parameterArray.length - 1) {