From c8eb03dff840f1ed543bbc570a063bde51abc735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 17 Apr 2018 00:36:12 +0200 Subject: [PATCH] Remove obsolete TODOs in BufferImage. There's a constructor that takes over a Buffer instance and that's enough to cover *all* needs. --- src/Magnum/BufferImage.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Magnum/BufferImage.h b/src/Magnum/BufferImage.h index 00de0407d..9041490ac 100644 --- a/src/Magnum/BufferImage.h +++ b/src/Magnum/BufferImage.h @@ -63,9 +63,6 @@ template class BufferImage { * @param size Image size * @param data Image data * @param usage Image buffer usage - * - * @todo Make it more flexible (usable with - * @extension{ARB,buffer_storage}, avoiding relocations...) */ explicit BufferImage(PixelStorage storage, PixelFormat format, PixelType type, const VectorTypeFor& size, Containers::ArrayView data, BufferUsage usage); @@ -189,8 +186,6 @@ template class BufferImage { * zero-sized @p data will not reallocate current storage, but expects * that current data size is large enough for the new parameters. * @see @ref Buffer::setData() - * @todo Make it more flexible (usable with - * @extension{ARB,buffer_storage}, avoiding relocations...) */ void setData(PixelStorage storage, PixelFormat format, PixelType type, const VectorTypeFor& size, Containers::ArrayView data, BufferUsage usage); @@ -255,9 +250,6 @@ template class CompressedBufferImage { * @param data Image data * @param usage Image buffer usage * - * @todo Make it more flexible (usable with - * @extension{ARB,buffer_storage}, avoiding relocations...) - * * @requires_gl42 Extension @extension{ARB,compressed_texture_pixel_storage} * @requires_gl Compressed pixel storage is hardcoded in OpenGL ES and * WebGL. @@ -403,8 +395,6 @@ template class CompressedBufferImage { * @requires_gl42 Extension @extension{ARB,compressed_texture_pixel_storage} * @requires_gl Compressed pixel storage is hardcoded in OpenGL ES and * WebGL. - * @todo Make it more flexible (usable with - * @extension{ARB,buffer_storage}, avoiding relocations...) */ void setData(CompressedPixelStorage storage, CompressedPixelFormat format, const VectorTypeFor& size, Containers::ArrayView data, BufferUsage usage); #endif