diff options
Diffstat (limited to 'util/fbcompose/OpenGLWindow.cc')
-rw-r--r-- | util/fbcompose/OpenGLWindow.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fbcompose/OpenGLWindow.cc b/util/fbcompose/OpenGLWindow.cc index a0977af..070a9b8 100644 --- a/util/fbcompose/OpenGLWindow.cc +++ b/util/fbcompose/OpenGLWindow.cc | |||
@@ -43,8 +43,8 @@ using namespace FbCompositor; | |||
43 | OpenGLWindow::OpenGLWindow(const OpenGLScreen &screen, Window window_xid) : | 43 | OpenGLWindow::OpenGLWindow(const OpenGLScreen &screen, Window window_xid) : |
44 | BaseCompWindow(static_cast<const BaseScreen&>(screen), window_xid, false) { | 44 | BaseCompWindow(static_cast<const BaseScreen&>(screen), window_xid, false) { |
45 | 45 | ||
46 | m_content_tex_partition = new OpenGL2DTexturePartition(screen, true); | 46 | m_content_tex_partition.reset( new OpenGL2DTexturePartition(screen, true) ); |
47 | m_shape_tex_partition = new OpenGL2DTexturePartition(screen, false); | 47 | m_shape_tex_partition.reset( new OpenGL2DTexturePartition(screen, false) ); |
48 | 48 | ||
49 | updateWindowPos(); | 49 | updateWindowPos(); |
50 | } | 50 | } |