From fabfdba0fbd6cd41c9f920f85bbf7971e0fa40cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 23 May 2022 13:50:26 +0200 Subject: [PATCH] DebugTools: buffer[Sub]Data() relies on ARB_map_buffer_range. Not sure why this wasn't documented. --- src/Magnum/DebugTools/BufferData.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/DebugTools/BufferData.h b/src/Magnum/DebugTools/BufferData.h index ada62a5ed..902384b47 100644 --- a/src/Magnum/DebugTools/BufferData.h +++ b/src/Magnum/DebugTools/BufferData.h @@ -53,6 +53,7 @@ Emulates @ref GL::Buffer::subData() call on platforms that don't support it @ref MAGNUM_TARGET_GL "TARGET_GL" enabled (done by default). See @ref building-features for more information. +@requires_gl30 Extension @gl_extension{ARB,map_buffer_range} @requires_gles30 Extension @gl_extension{EXT,map_buffer_range} in OpenGL ES 2.0. @requires_gles Buffer mapping is not available in WebGL. @@ -73,6 +74,7 @@ as OpenGL ES) by using @ref GL::Buffer::map(). @ref MAGNUM_TARGET_GL "TARGET_GL" enabled (done by default). See @ref building-features for more information. +@requires_gl30 Extension @gl_extension{ARB,map_buffer_range} @requires_gles30 Extension @gl_extension{EXT,map_buffer_range} in OpenGL ES 2.0. @requires_gles Buffer mapping is not available in WebGL.