X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprogramcompiler.cpp;fp=source%2Fprogramcompiler.cpp;h=00d217a06aebb4dcb83b731427e466a584fffe6b;hp=223392ffd4d1e21a4ac599405eba6b2bb1503aba;hb=ae1fe9121b341c7852e54aa586f23edaf21b664c;hpb=56beca9d8b4f7b4edac81411d31e24df88e84ac3 diff --git a/source/programcompiler.cpp b/source/programcompiler.cpp index 223392ff..00d217a0 100644 --- a/source/programcompiler.cpp +++ b/source/programcompiler.cpp @@ -1948,6 +1948,8 @@ void ProgramCompiler::LegacyConverter::visit(FunctionCall &call) call.name = "texture2D"; else if(type=="sampler3D") call.name = "texture3D"; + else if(type=="samplerCube") + call.name = "textureCube"; else if(type=="sampler1DShadow") call.name = "shadow1D"; else if(type=="sampler2DShadow")