X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.cpp;h=e65a703f77a8d1f5f4b2d769e7c85ca0d439b2bd;hb=a40fc85277dba5c34402a0e703d038efd30cc57b;hp=d8827ab5d0f5f095fed0d53424571aff7147f472;hpb=2fa1bb084e54af7134b44d3ee7512056e28de67e;p=libs%2Fgl.git diff --git a/source/program.cpp b/source/program.cpp index d8827ab5..e65a703f 100644 --- a/source/program.cpp +++ b/source/program.cpp @@ -129,7 +129,6 @@ void Program::link() (*i)->compile(); uniforms.clear(); - legacy_vars = false; glLinkProgram(id); linked = get_program_i(id, GL_LINK_STATUS); @@ -173,8 +172,6 @@ void Program::query_uniforms() info.type = type; uniforms_by_index[i] = &info; } - else - legacy_vars = true; } if(ARB_uniform_buffer_object) @@ -294,8 +291,6 @@ void Program::query_attributes() info.size = size; info.type = type; } - else - legacy_vars = true; } }