]> git.tdb.fi Git - libs/gl.git/commitdiff
Copy the tied program of ProgramData
authorMikko Rasa <tdb@tdb.fi>
Thu, 4 Jun 2020 23:16:16 +0000 (02:16 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 11 Jun 2020 15:38:43 +0000 (18:38 +0300)
source/programdata.cpp

index dba6b06f2cc8a94ca25d1006020fc567f9d1619d..e279635f876116d1e40fce3064423e05c1e597c3 100644 (file)
@@ -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),