]> git.tdb.fi Git - libs/gl.git/commitdiff
Store simpler states by value in PipelineState
authorMikko Rasa <tdb@tdb.fi>
Wed, 12 Jan 2022 20:24:54 +0000 (22:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 12 Jan 2022 20:24:54 +0000 (22:24 +0200)
Since these are also stored by value in various objects, a pointer
comparison is not enough to tell if state needs to be changed.  There's
no guarantee that the object behind the pointer stays alive, so comparing
values through the pointer is hazardous.


No differences found