more fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-09-08 08:48:32 -07:00
parent c805d443d2
commit 860b28c10b
38 changed files with 251 additions and 256 deletions
@@ -22,7 +22,7 @@ namespace AZ
: public SerializeContext::IEventHandler
{
//! Called right before we start reading from the instance pointed by classPtr.
virtual void OnReadBegin(void* classPtr)
void OnReadBegin(void* classPtr) override
{
ShaderCollection::Item* shaderVariantReference = reinterpret_cast<ShaderCollection::Item*>(classPtr);
shaderVariantReference->m_shaderVariantId = shaderVariantReference->m_shaderOptionGroup.GetShaderVariantId();