mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 05:08:31 +09:00
[Feat] (MG_Backend/DirectGLES): sync PBO
This commit is contained in:
@@ -34,6 +34,11 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
buffersToSync.push_back(possibleIBO);
|
||||
}
|
||||
|
||||
const auto& pbo = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelUnpack).GetBoundObject();
|
||||
if (pbo) {
|
||||
buffersToSync.push_back(pbo);
|
||||
}
|
||||
|
||||
// Do real sync
|
||||
for (auto& bufferObject : buffersToSync) {
|
||||
const auto& backendBufferIt = g_backendBufferObjects.find(bufferObject);
|
||||
|
||||
Reference in New Issue
Block a user