mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 12:18:30 +09:00
[Fix] (MG_Backend/DirectGLES): Fix wrong return; in buffer syncing.
This commit is contained in:
@@ -23,7 +23,7 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
}
|
||||
|
||||
for (const auto& attrib : currentVAOObject->GetAllAttributes()) {
|
||||
if (!attrib.Enabled) return;
|
||||
if (!attrib.Enabled) continue;
|
||||
const auto& bufferObject = attrib.Buffer;
|
||||
if (bufferObject) {
|
||||
buffersToSync.push_back(bufferObject);
|
||||
|
||||
Reference in New Issue
Block a user