Skip to content

Commit

Permalink
HlmsPbsDatablock::setUserValue never calls scheduleConstBufferUpdate()
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed May 28, 2023
1 parent 8c05a5c commit bc63777
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Components/Hlms/Pbs/src/OgreHlmsPbsDatablock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc63777

Please sign in to comment.