• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Révision83bde43b91962343ce3c3045f4e08d1b02a8a267 (tree)
l'heure2013-04-26 14:40:05
Auteurremy.bouquet@gmail.com <remy.bouquet@gmai...>
Commiterremy.bouquet@gmail.com

Message de Log

ShaderNodes SDK : fix for build

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Modification

--- a/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/EditableMatDefFile.java
+++ b/sdk/jme3-materialeditor/src/com/jme3/gde/materialdefinition/EditableMatDefFile.java
@@ -156,9 +156,11 @@ public class EditableMatDefFile {
156156 material.selectTechnique("Default", SceneApplication.getApplication().getRenderManager());
157157 Shader s;
158158 if (version.equals(GLSL100)) {
159- s = glsl100.generateShader(material.getActiveTechnique());
159+ glsl100.initialize(material.getActiveTechnique());
160+ s = glsl100.generateShader();
160161 } else {
161- s = glsl150.generateShader(material.getActiveTechnique());
162+ glsl150.initialize(material.getActiveTechnique());
163+ s = glsl150.generateShader();
162164 }
163165 for (Iterator<Shader.ShaderSource> it = s.getSources().iterator(); it.hasNext();) {
164166 Shader.ShaderSource source = it.next();