diff options
author | Geenz <geenz@geenzo.com> | 2013-03-11 10:26:52 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-03-11 10:26:52 -0400 |
commit | 3c60fb24ca3685614880645af61d44287c369aea (patch) | |
tree | b4cdf8d72a107de57325577942cafdbb5699e66a /indra/llwindow/llwindowmacosx-objc.mm | |
parent | 5caa7a465e73fc9cf70f5f2c5d147a509bd5e185 (diff) | |
parent | d046e606575b2c3714a88e321c88e05441cba4a8 (diff) |
Merge
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.mm')
-rw-r--r-- | indra/llwindow/llwindowmacosx-objc.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm index e4e12f4b5c..b859f236d4 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; |