Changeset 40697 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Mar 28, 2012 4:37:33 PM (13 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/render
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa.c
r39206 r40697 31 31 } 32 32 33 GLboolean renderspu_SystemCreateContext(VisualInfo *pVisInfo, ContextInfo *pCtxInfo, ContextInfo *pSh haredCtxInfo)33 GLboolean renderspu_SystemCreateContext(VisualInfo *pVisInfo, ContextInfo *pCtxInfo, ContextInfo *pSharedCtxInfo) 34 34 { 35 35 CRASSERT(pVisInfo); … … 38 38 pCtxInfo->currentWindow = NULL; 39 39 40 cocoaGLCtxCreate(&pCtxInfo->context, pVisInfo->visAttribs );40 cocoaGLCtxCreate(&pCtxInfo->context, pVisInfo->visAttribs, pShharedCtxInfo ? pSharedCtxInfo->context : NULL); 41 41 42 42 return GL_TRUE; -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.h
r39206 r40697 29 29 30 30 /* OpenGL context management */ 31 void cocoaGLCtxCreate(NativeNSOpenGLContextRef *ppCtx, GLbitfield fVisParams );31 void cocoaGLCtxCreate(NativeNSOpenGLContextRef *ppCtx, GLbitfield fVisParams, NativeNSOpenGLContextRef pSharedCtx); 32 32 void cocoaGLCtxDestroy(NativeNSOpenGLContextRef pCtx); 33 33 -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r39206 r40697 1617 1617 * 1618 1618 ********************************************************************************/ 1619 void cocoaGLCtxCreate(NativeNSOpenGLContextRef *ppCtx, GLbitfield fVisParams )1619 void cocoaGLCtxCreate(NativeNSOpenGLContextRef *ppCtx, GLbitfield fVisParams, NativeNSOpenGLContextRef pSharedCtx) 1620 1620 { 1621 1621 NSOpenGLPixelFormat *pFmt = nil;
Note:
See TracChangeset
for help on using the changeset viewer.