summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_surfacebitmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_surfacebitmap.cxx')
-rw-r--r--canvas/source/directx/dx_surfacebitmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_surfacebitmap.cxx b/canvas/source/directx/dx_surfacebitmap.cxx
index 52c83de26829..0d23674ca91b 100644
--- a/canvas/source/directx/dx_surfacebitmap.cxx
+++ b/canvas/source/directx/dx_surfacebitmap.cxx
@@ -228,7 +228,7 @@ namespace dxcanvas
maSize.getY(),
PixelFormat32bppARGB
);
- mpGraphics.reset( tools::createGraphicsFromBitmap(mpGDIPlusBitmap) );
+ mpGraphics = tools::createGraphicsFromBitmap(mpGDIPlusBitmap);
// create the colorbuffer object, which is basically a simple
// wrapper around the directx surface. the colorbuffer is the