From bc6377730ddebf98dce9d3c71bbbc611dcc4b48f Mon Sep 17 00:00:00 2001 From: "Matias N. Goldberg" Date: Sun, 28 May 2023 17:06:43 -0300 Subject: [PATCH] HlmsPbsDatablock::setUserValue never calls scheduleConstBufferUpdate() --- Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp b/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp index 24c35e74ab3..cb8295514ec 100644 --- a/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp +++ b/Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp @@ -960,6 +960,7 @@ namespace Ogre mUserValue[userValueIdx][1] = value.y; mUserValue[userValueIdx][2] = value.z; mUserValue[userValueIdx][3] = value.w; + scheduleConstBufferUpdate(); } //----------------------------------------------------------------------------------- Vector4 HlmsPbsDatablock::getUserValue(uint8 userValueIdx) const