Only complain about initial states being missing for non-buffers

This commit is contained in:
baldurk
2014-08-18 11:01:37 +01:00
parent 55e0178ec9
commit 561b7a0e58
+4 -1
View File
@@ -171,7 +171,10 @@ bool GLResourceManager::Serialise_InitialState(GLResource res)
void GLResourceManager::Create_InitialState(ResourceId id, GLResource live, bool hasData)
{
RDCUNIMPLEMENTED("Expect all initial states to be created & not skipped, presently");
if(live.Namespace != eResBuffer)
{
RDCUNIMPLEMENTED("Expect all initial states to be created & not skipped, presently");
}
}
void GLResourceManager::Apply_InitialState(GLResource live, InitialContentData initial)