Browse Source

Platform: display also max cube map texture sizes.

pull/94/head
Vladimír Vondruš 11 years ago
parent
commit
2be625a23b
  1. 10
      src/Magnum/Platform/magnum-info.cpp

10
src/Magnum/Platform/magnum-info.cpp

@ -35,6 +35,9 @@
#include "Magnum/BufferTexture.h"
#endif
#include "Magnum/Context.h"
#ifndef MAGNUM_TARGET_GLES
#include "Magnum/CubeMapTextureArray.h"
#endif
#include "Magnum/DebugOutput.h"
#include "Magnum/Extensions.h"
#include "Magnum/Framebuffer.h"
@ -343,6 +346,7 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat
#ifndef MAGNUM_TARGET_GLES2
_lvec(Texture3D::maxSize()) /* Checked ES2 version below */
#endif
_lvec(CubeMapTexture::maxSize())
#ifndef MAGNUM_TARGET_GLES
if(c->isExtensionSupported<Extensions::GL::ARB::blend_func_extended>()) {
@ -488,6 +492,12 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat
_l(BufferTexture::offsetAlignment())
}
if(c->isExtensionSupported<Extensions::GL::ARB::texture_cube_map_array>()) {
_h(ARB::texture_cube_map_array)
_l(CubeMapTextureArray::maxSize())
}
#endif
#ifndef MAGNUM_TARGET_GLES2

Loading…
Cancel
Save