refactor(srp): resolve imported render graph textures through multi-view runtime
This commit is contained in:
@@ -196,7 +196,7 @@ void OpenGLDescriptorSet::Update(uint32_t offset, RHIResourceView* view) {
|
||||
}
|
||||
|
||||
binding->textureIds[0] = glView->GetTexture();
|
||||
if (const OpenGLTexture* texture = glView->GetTextureResource()) {
|
||||
if (const OpenGLTexture* texture = glView->GetOpenGLTextureResource()) {
|
||||
binding->textureTargets[0] = static_cast<uint32_t>(ToOpenGL(texture->GetOpenGLType()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user