2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit fec543d6 authored by Sebastian Pölsterl's avatar Sebastian Pölsterl
Browse files

Removed last const which would have been ignored anyway

Fixes -Wignored-qualifiers
parent dabdc917
......@@ -51,7 +51,7 @@ namespace campvis {
: AbstractData()
, _depthTexture(0)
{
tgt::Texture *const *const attachments = fbo->getAttachments();
tgt::Texture* const * attachments = fbo->getAttachments();
for (size_t i = 0; i < TGT_FRAMEBUFFEROBJECT_MAX_SUPPORTED_COLOR_ATTACHMENTS; ++i) {
if (attachments[i] != 0) {
ImageData* img = new ImageData(2, attachments[i]->getDimensions(), attachments[i]->getNumChannels());
......
......@@ -160,7 +160,7 @@ GLuint FramebufferObject::generateId() {
return id_;
}
Texture*const *const FramebufferObject::getAttachments() const {
Texture* const * FramebufferObject::getAttachments() const {
return attachments_;
}
......
......@@ -64,7 +64,7 @@ public:
GLuint getId() const { return id_; };
Texture *const *const getAttachments() const;
Texture* const * getAttachments() const;
size_t getNumColorAttachments() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment