From: Mikko Rasa Date: Wed, 12 Jan 2022 20:24:54 +0000 (+0200) Subject: Store simpler states by value in PipelineState X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=016f0f0dd51511f98d0bf398d99199d7dec1543c;hp=016f0f0dd51511f98d0bf398d99199d7dec1543c;p=libs%2Fgl.git Store simpler states by value in PipelineState 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. ---