mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 09:26:52 +00:00
Fix GL/DX interop for buffers
This commit is contained in:
@@ -341,6 +341,12 @@ bool WrappedOpenGL::Serialise_wglDXRegisterObjectNV(SerialiserType &ser, GLResou
|
||||
m_Textures[liveId].mipsValid = (1 << mips) - 1;
|
||||
}
|
||||
|
||||
if(type == eGL_NONE || type == eGL_TEXTURE_BUFFER)
|
||||
{
|
||||
ResourceId liveId = GetResourceManager()->GetResID(Resource);
|
||||
m_Buffers[liveId].size = width;
|
||||
}
|
||||
|
||||
AddResourceInitChunk(Resource);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user