- added missing loading of GLSL Shader through ContentPipeline

This commit is contained in:
Glatzemann 2011-10-31 08:51:41 +00:00
parent c0377daab0
commit b4881a2c70

View File

@ -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);