diff options
author | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-02-27 06:46:53 -0800 |
---|---|---|
committer | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-02-27 06:46:53 -0800 |
commit | f5516e0fc0e6c22b25f9dca2b9b24ebd7618332a (patch) | |
tree | 939732d39be7d2a6b2f3596fc5dba020f752b754 /indra/llwindow/llwindowmacosx.cpp | |
parent | 9a85a9d6bf4e41fdfb6113af26caf13f5a08c90e (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.cpp')
-rw-r--r-- | indra/llwindow/llwindowmacosx.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index ac0fa54a68..abb3c1e50c 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -408,6 +408,8 @@ BOOL LLWindowMacOSX::createContext(int x, int y, int width, int height, int bits mContext = getCGLContextObj(mGLView); // Since we just created the context, it needs to be set up. glNeedsInit = TRUE; + + gGLManager.mVRAM = getVramSize(mGLView); } // Hook up the context to a drawable |