X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Funlitmaterial.cpp;fp=source%2Fmaterials%2Funlitmaterial.cpp;h=21f2b2f3037ed2a1a1eef0f194041727e55fcaf7;hp=38dbd3a3bdfc9104295fb87983839b9d19cdff29;hb=5b652353d545a3190ea2d86ba82a87b2e3382a0d;hpb=dbc91b65728ab9c0e574bb1127cfe4d2da55de7f diff --git a/source/materials/unlitmaterial.cpp b/source/materials/unlitmaterial.cpp index 38dbd3a3..21f2b2f3 100644 --- a/source/materials/unlitmaterial.cpp +++ b/source/materials/unlitmaterial.cpp @@ -25,14 +25,6 @@ void UnlitMaterial::fill_program_info(string &module_name, map &spe spec_values["use_vertex_color"] = vertex_color; } -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" -void UnlitMaterial::attach_textures_to(Texturing &texturing, ProgramData &tex_shdata) const -{ - attach_texture_to(texture, texturing, tex_shdata, "color_tex"); -} -#pragma GCC diagnostic pop - const Texture *UnlitMaterial::get_texture(Tag tag) const { if(tag==texture_tags[0])