From: Mikko Rasa Date: Thu, 4 Jun 2020 23:16:16 +0000 (+0300) Subject: Copy the tied program of ProgramData X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=41368577ab4c4091e19d4e9cbbf8fbf2cfbdddca;p=libs%2Fgl.git Copy the tied program of ProgramData --- diff --git a/source/programdata.cpp b/source/programdata.cpp index dba6b06f..e279635f 100644 --- a/source/programdata.cpp +++ b/source/programdata.cpp @@ -24,7 +24,7 @@ ProgramData::ProgramData(const Program *p): // Blocks are intentionally left uncopied ProgramData::ProgramData(const ProgramData &other): - tied_program(0), + tied_program(other.tied_program), uniforms(other.uniforms), last_block(0), buffer(0),