From 67d0122c798b8f101c840fee2b697393f1ceab09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 19 Apr 2025 12:07:39 +0200 Subject: [PATCH] DebugTools: add a TODO. --- src/Magnum/DebugTools/TextureImage.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Magnum/DebugTools/TextureImage.cpp b/src/Magnum/DebugTools/TextureImage.cpp index 56b65a4fb..c7c496d6f 100644 --- a/src/Magnum/DebugTools/TextureImage.cpp +++ b/src/Magnum/DebugTools/TextureImage.cpp @@ -239,6 +239,12 @@ GL::BufferImage2D textureSubImage(GL::Texture2D& texture, const Int level, const #endif void textureSubImage(GL::CubeMapTexture& texture, const GL::CubeMapCoordinate coordinate, const Int level, const Range2Di& range, Image2D& image) { + /* Compared to textureSubImage(GL::CubeMapTexture&, ..., Image3D&), here's + no ARB_get_texture_sub_image code path because it only works with 3D + images */ + /** @todo implement a Image3D variant with this extension used once + convenient Image slicing and direct allocation is done */ + GL::Framebuffer fb{range}; fb.attachCubeMapTexture(GL::Framebuffer::ColorAttachment{0}, texture, coordinate, level);