Skip to content

Commit 503a791

Browse files
committed
Minor cleanup
No difference for GL no both call the same function.
1 parent 31f5cf9 commit 503a791

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

filament/backend/src/opengl/OpenGLDriver.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -3565,9 +3565,7 @@ void OpenGLDriver::updateDescriptorSetExternalTexture(
35653565
SamplerParams params,
35663566
SamplerYcbcrConversion conversion,
35673567
uint32_t format) {
3568-
GLDescriptorSet* ds = handle_cast<GLDescriptorSet*>(dsh);
3569-
GLTexture* t = th ? handle_cast<GLTexture*>(th) : nullptr;
3570-
ds->update(mContext, binding, t, params);
3568+
updateDescriptorSetTexture(dsh, binding, th, params);
35713569
}
35723570

35733571
void OpenGLDriver::flush(int) {

0 commit comments

Comments
 (0)