summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Teliuk <ruslantproductengine@lindenlab.com>2019-01-15 19:50:25 +0200
committerRuslan Teliuk <ruslantproductengine@lindenlab.com>2019-01-15 19:50:25 +0200
commit60b4c6405b8adb2a12f53ed403731f948cb3937f (patch)
treec5c5d7fa8e0390db96b377256d8b49bf09abc598
parent9d1ea470bedc69d57c443c4efa966acdf6f4dbcd (diff)
parent942a37d969273a41ade8348049fe631445b1258b (diff)
Merged lindenlab/viewer-cougar into default
-rw-r--r--indra/llwindow/llwindowmacosx-objc.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm
index 156d7965cd..c3eb9b8c8a 100644
--- a/indra/llwindow/llwindowmacosx-objc.mm
+++ b/indra/llwindow/llwindowmacosx-objc.mm
@@ -380,8 +380,8 @@ void closeWindow(NSWindowRef window)
void removeGLView(GLViewRef view)
{
+ [(LLOpenGLView*)view clearGLContext];
[(LLOpenGLView*)view removeFromSuperview];
- [(LLOpenGLView*)view release];
}
void setupInputWindow(NSWindowRef window, GLViewRef glview)