From 4bb488f65e0804570fd7849b90a4500c449a2919 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Thu, 11 Aug 2016 15:02:00 -0700 Subject: [PATCH] reset canvas location --- examples/ExampleBrowser/OpenGLExampleBrowser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/ExampleBrowser/OpenGLExampleBrowser.cpp b/examples/ExampleBrowser/OpenGLExampleBrowser.cpp index e29eb6996..5866e0ae4 100644 --- a/examples/ExampleBrowser/OpenGLExampleBrowser.cpp +++ b/examples/ExampleBrowser/OpenGLExampleBrowser.cpp @@ -680,6 +680,7 @@ struct QuickCanvas : public Common2dCanvasInterface } virtual void destroyCanvas(int canvasId) { + m_curXpos = 0; btAssert(canvasId>=0); delete m_gt[canvasId]; m_gt[canvasId] = 0;