From fcfcc84e190726e18bb2330b54c1b9ed20261e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 28 Dec 2013 21:55:30 +0100 Subject: [PATCH] Platform: show BufferTexture::offsetAlignment() in magnum-info. --- src/Platform/magnum-info.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Platform/magnum-info.cpp b/src/Platform/magnum-info.cpp index 7a674b4f5..854c5f107 100644 --- a/src/Platform/magnum-info.cpp +++ b/src/Platform/magnum-info.cpp @@ -31,6 +31,7 @@ #include "AbstractShaderProgram.h" #include "Buffer.h" +#include "BufferTexture.h" #include "Context.h" #include "DebugMessage.h" #include "Extensions.h" @@ -314,6 +315,12 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat _l(Shader::maxTessellationEvaluationInputComponents()) _l(Shader::maxTessellationEvaluationOutputComponents()) } + + if(c->isExtensionSupported()) { + _h(ARB::texture_buffer_range) + + _l(BufferTexture::offsetAlignment()) + } #endif #ifndef MAGNUM_TARGET_GLES2