From f52e156e901f6a3473f1c542c75d7c05d64b0a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 7 Feb 2016 19:42:54 +0100 Subject: [PATCH] Platform: print Buffer::minMapAlignment() in magnum-info. --- src/Magnum/Platform/magnum-info.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Magnum/Platform/magnum-info.cpp b/src/Magnum/Platform/magnum-info.cpp index bef644ed0..3a48f47b2 100644 --- a/src/Magnum/Platform/magnum-info.cpp +++ b/src/Magnum/Platform/magnum-info.cpp @@ -398,6 +398,14 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat } #endif + #ifndef MAGNUM_TARGET_GLES + if(c.isExtensionSupported()) { + _h(ARB::map_buffer_alignment) + + _l(Buffer::minMapAlignment()) + } + #endif + #ifndef MAGNUM_TARGET_GLES2 #ifndef MAGNUM_TARGET_GLES if(c.isExtensionSupported())