diff --git a/Source/Falcor/Core/State/GraphicsState.cpp b/Source/Falcor/Core/State/GraphicsState.cpp index 7c5c5f039..fa8e76c06 100644 --- a/Source/Falcor/Core/State/GraphicsState.cpp +++ b/Source/Falcor/Core/State/GraphicsState.cpp @@ -110,6 +110,7 @@ ref GraphicsState::getGSO(const ProgramVars* pVars) else { pGso = mpDevice->createGraphicsStateObject(mDesc); + mDesc = pGso->getDesc(); pGso->breakStrongReferenceToDevice(); mpGsoGraph->setCurrentNodeData(pGso); }