Fixed an issue in TechniqueDef due to recent Geom and tesselation shader addition
This commit is contained in:
parent
a73eb57f73
commit
40905061b5
@ -238,11 +238,11 @@ public class TechniqueDef implements Savable {
|
|||||||
* @param vertLanguage The vertex shader language
|
* @param vertLanguage The vertex shader language
|
||||||
* @param fragLanguage The fragment shader language
|
* @param fragLanguage The fragment shader language
|
||||||
*/
|
*/
|
||||||
public void setShaderFile(String vertexShader, String fragmentShader, String vertLanguage, String fragLanguage){
|
public void setShaderFile(String vertexShader, String fragmentShader, String vertLanguage, String fragLanguage) {
|
||||||
this.shaderLanguage.put(Shader.ShaderType.Vertex,shaderLanguage.get(vertLanguage));
|
this.shaderLanguage.put(Shader.ShaderType.Vertex, vertLanguage);
|
||||||
this.shaderName.put(Shader.ShaderType.Vertex,shaderName.get(vertexShader));
|
this.shaderName.put(Shader.ShaderType.Vertex, vertexShader);
|
||||||
this.shaderLanguage.put(Shader.ShaderType.Fragment,shaderLanguage.get(fragLanguage));
|
this.shaderLanguage.put(Shader.ShaderType.Fragment, fragLanguage);
|
||||||
this.shaderName.put(Shader.ShaderType.Fragment,shaderName.get(fragmentShader));
|
this.shaderName.put(Shader.ShaderType.Fragment, fragmentShader);
|
||||||
Caps vertCap = Caps.valueOf(vertLanguage);
|
Caps vertCap = Caps.valueOf(vertLanguage);
|
||||||
requiredCaps.add(vertCap);
|
requiredCaps.add(vertCap);
|
||||||
Caps fragCap = Caps.valueOf(fragLanguage);
|
Caps fragCap = Caps.valueOf(fragLanguage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user