X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprogrambuilder.cpp;h=de1fb1604db2ea5dcd77c20a2fbf036f18fe3894;hp=002e3a275f7ef7e1c7eaa05e08e277d9106da734;hb=d70abd1a337cb6604170b5d4120fd4f223b4d7d8;hpb=75fa19f4de54fc2791ba95ef6552d8c8b00f2d53 diff --git a/source/programbuilder.cpp b/source/programbuilder.cpp index 002e3a27..de1fb160 100644 --- a/source/programbuilder.cpp +++ b/source/programbuilder.cpp @@ -238,7 +238,10 @@ ProgramBuilder::ProgramBuilder(const StandardFeatures &f): if(!features.legacy) { + aliases["texture1D"] = "texture"; aliases["texture2D"] = "texture"; + aliases["texture3D"] = "texture"; + aliases["textureCube"] = "texture"; aliases["shadow2D"] = "texture"; } else