From b4881a2c705ab058e1d49eca8503ee9eba585a58 Mon Sep 17 00:00:00 2001 From: Glatzemann Date: Mon, 31 Oct 2011 08:51:41 +0000 Subject: [PATCH] - added missing loading of GLSL Shader through ContentPipeline --- ANX.Framework/Content/GraphicTypeReaders/EffectReader.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ANX.Framework/Content/GraphicTypeReaders/EffectReader.cs b/ANX.Framework/Content/GraphicTypeReaders/EffectReader.cs index f9eb251d..94798a55 100644 --- a/ANX.Framework/Content/GraphicTypeReaders/EffectReader.cs +++ b/ANX.Framework/Content/GraphicTypeReaders/EffectReader.cs @@ -110,6 +110,7 @@ namespace ANX.Framework.Content switch (format) { case EffectProcessorOutputFormat.DX10_HLSL: + case EffectProcessorOutputFormat.OPEN_GL3_GLSL: //return rfc.CreateEffect(gds.GraphicsDevice, new MemoryStream(vertexShaderByteCode, false), new MemoryStream(pixelShaderByteCode, false)); //return rfc.CreateEffect(gds.GraphicsDevice, new MemoryStream(effectByteCode, false)); return new Effect(gds.GraphicsDevice, effectByteCode);