comparison Framework/Scene2D/Internals/OpenGLFloatTextureRenderer.h @ 1299:c38c89684d83 broker

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 17:21:24 +0100
parents 2d8ab34c8c91
children
comparison
equal deleted inserted replaced
1297:6ab03e429f06 1299:c38c89684d83
32 class OpenGLFloatTextureRenderer : public CompositorHelper::ILayerRenderer 32 class OpenGLFloatTextureRenderer : public CompositorHelper::ILayerRenderer
33 { 33 {
34 private: 34 private:
35 OpenGL::IOpenGLContext& context_; 35 OpenGL::IOpenGLContext& context_;
36 OpenGLFloatTextureProgram& program_; 36 OpenGLFloatTextureProgram& program_;
37 std::auto_ptr<OpenGLFloatTextureProgram::Data> texture_; 37 std::unique_ptr<OpenGLFloatTextureProgram::Data> texture_;
38 AffineTransform2D layerTransform_; 38 AffineTransform2D layerTransform_;
39 float windowCenter_; 39 float windowCenter_;
40 float windowWidth_; 40 float windowWidth_;
41 bool invert_; 41 bool invert_;
42 42