summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx-objc.mm
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-02-27 06:46:53 -0800
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-02-27 06:46:53 -0800
commitf5516e0fc0e6c22b25f9dca2b9b24ebd7618332a (patch)
tree939732d39be7d2a6b2f3596fc5dba020f752b754 /indra/llwindow/llwindowmacosx-objc.mm
parent9a85a9d6bf4e41fdfb6113af26caf13f5a08c90e (diff)
For MAINT-2404 Fixes detection of VRAM on OSX removed along with other AGL code. Code Review: callum
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.mm')
-rw-r--r--indra/llwindow/llwindowmacosx-objc.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm
index b288671219..9b57cd27cd 100644
--- a/indra/llwindow/llwindowmacosx-objc.mm
+++ b/indra/llwindow/llwindowmacosx-objc.mm
@@ -237,6 +237,11 @@ CGLPixelFormatObj* getCGLPixelFormatObj(NSWindowRef window)
return [glview getCGLPixelFormatObj];
}
+unsigned long getVramSize(GLViewRef view)
+{
+ return [(LLOpenGLView *)view getVramSize];
+}
+
void getContentViewBounds(NSWindowRef window, float* bounds)
{
bounds[0] = [[(LLNSWindow*)window contentView] bounds].origin.x;