]> git.tdb.fi Git - libs/gl.git/commit
Replace ProgramData copy constructor with a more explicit copy function
authorMikko Rasa <tdb@tdb.fi>
Sat, 13 Nov 2021 14:56:32 +0000 (16:56 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 14 Nov 2021 09:47:47 +0000 (11:47 +0200)
commit9ec0e018234391efa66cc0f4080bfe470b910288
treec961839abc4850bad8e69bdf9bd1dd2205149605
parente70662d7812464159f2e47f4bebb69d88f89ae93
Replace ProgramData copy constructor with a more explicit copy function

The copy constructor left so many members uncopied that it was rather
questionable as copy constructor.  This makes it more clear that only
uniform values are being copied.
demos/desertpillars/source/desertpillars.cpp
source/materials/rendermethod.cpp
source/materials/technique.cpp
source/render/camera.cpp
source/render/camera.h
source/render/programdata.cpp
source/render/programdata.h