From 41368577ab4c4091e19d4e9cbbf8fbf2cfbdddca Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 5 Jun 2020 02:16:16 +0300 Subject: [PATCH] Copy the tied program of ProgramData --- source/programdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.45.2