comparison Framework/Scene2D/Internals/OpenGLFloatTextureRenderer.h @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 2d8ab34c8c91
children
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
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