X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.cpp;h=32709e30e2ebf521bd6bcf69eeb262069f517e4f;hb=55dbeb5e04516699b8415104e346243d5e4c48c9;hp=c30426633e60746756428951c8e907e82829c690;hpb=d2efbd8a32efa2a3ee8542efc846277af19d63e0;p=libs%2Fgl.git diff --git a/source/resources.cpp b/source/resources.cpp index c3042663..32709e30 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -14,6 +14,7 @@ #include "technique.h" #include "texture1d.h" #include "texture2d.h" +#include "texture2darray.h" #include "texturecube.h" using namespace std; @@ -40,6 +41,7 @@ Resources::Resources(): add_type().base().suffix(".tex2d").suffix(".png").suffix(".jpg").keyword("texture2d").creator(&Resources::create_texture2d); add_type().base().suffix(".tex3d").keyword("texture3d"); add_type().base().suffix(".texcb").keyword("texture_cube"); + add_type().base().suffix(".tex2da").keyword("texture2d_array"); } void Resources::set_default_texture_filter(TextureFilter tf)