From e85afa6891a330bb1a6064140ca8240f5980d511 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Mon, 7 Jan 2013 22:38:40 -0800 Subject: [PATCH] Fixed refcount expected value. --- src/renderer_d3d11.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer_d3d11.h b/src/renderer_d3d11.h index 162eeb78..936939f4 100644 --- a/src/renderer_d3d11.h +++ b/src/renderer_d3d11.h @@ -242,7 +242,7 @@ namespace bgfx void destroy() { DX_RELEASE(m_srv, 0); - DX_RELEASE(m_ptr, 1); + DX_RELEASE(m_ptr, 0); } void update(uint8_t _side, uint8_t _mip, const Rect& _rect, uint16_t _z, uint16_t _depth, const Memory* _mem);