From 36f62a0f0356aad8ff191cee4802562c8e3d9273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 13 Apr 2025 12:40:08 +0200 Subject: [PATCH] GL: still use DSA for buffer creation w/ "nv-broken-buffer-dsa". Otherwise there's a really bad interaction with VAO DSA. Adding explanatory comments, a repro case is in previous commit. --- src/Magnum/GL/Implementation/BufferState.cpp | 47 +++++++++++++++----- src/Magnum/GL/Mesh.cpp | 20 +++++++++ 2 files changed, 55 insertions(+), 12 deletions(-) diff --git a/src/Magnum/GL/Implementation/BufferState.cpp b/src/Magnum/GL/Implementation/BufferState.cpp index 9859f0a90..4d9f1db4c 100644 --- a/src/Magnum/GL/Implementation/BufferState.cpp +++ b/src/Magnum/GL/Implementation/BufferState.cpp @@ -100,23 +100,46 @@ BufferState::BufferState(Context& context, Containers::StaticArrayView