{"action":"created","issue":{"url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph/issues/661","repository_url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph","labels_url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph/issues/661/comments","events_url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph/issues/661/events","html_url":"https://github.com/openscenegraph/OpenSceneGraph/issues/661","id":380709639,"node_id":"MDU6SXNzdWUzODA3MDk2Mzk=","number":661,"title":"ShaderPipeline disabled in OSG for MacOS","user":{"login":"loening","id":16102577,"node_id":"MDQ6VXNlcjE2MTAyNTc3","avatar_url":"https://avatars0.githubusercontent.com/u/16102577?v=4","gravatar_id":"","url":"https://api.github.com/users/loening","html_url":"https://github.com/loening","followers_url":"https://api.github.com/users/loening/followers","following_url":"https://api.github.com/users/loening/following{/other_user}","gists_url":"https://api.github.com/users/loening/gists{/gist_id}","starred_url":"https://api.github.com/users/loening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loening/subscriptions","organizations_url":"https://api.github.com/users/loening/orgs","repos_url":"https://api.github.com/users/loening/repos","events_url":"https://api.github.com/users/loening/events{/privacy}","received_events_url":"https://api.github.com/users/loening/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-14T13:57:14Z","updated_at":"2018-11-14T18:43:21Z","closed_at":"2018-11-14T16:59:30Z","author_association":"NONE","body":"I have a question about OSG for MacOS. My system is OS X EI Capitan, whose version is 10.11.6. , and the Graphics card is NVIDIA Geforce GTX 680MX.\r\n\r\n\r\nI have built the OpenSceneGraph 3.7.0 successfully, but I come across a problem of \" void StateSet::setGlobalDefaults() ShaderPipeline disabled. \" when I run the examples. I don't know what is the OSG bug, or the computer system problem.\r\n\r\nI checked the osgViewer code, below bold usage have been deprecated. I don't know this is the reason.\r\n\r\n`    attr[i++] = **NSOpenGLPFAPixelBuffer**; // for pbuffer usage\r\n    attr[i++] = NSOpenGLPFAAccelerated;\r\n    attr[i] = static_cast<NSOpenGLPixelFormatAttribute>(0);\r\n    \r\n    // create the context\r\n    NSOpenGLContext* sharedContext = NULL;\r\n    \r\n    GraphicsHandleCocoa* graphicsHandleCocoa = dynamic_cast<GraphicsHandleCocoa*>(_traits->sharedContext.get());\r\n    if (graphicsHandleCocoa) \r\n    {\r\n        sharedContext = graphicsHandleCocoa->getNSOpenGLContext();\r\n    }\r\n    \r\n    \r\n    NSOpenGLPixelFormat* pixelformat = [[NSOpenGLPixelFormat alloc] initWithAttributes:attr ];\r\n    _context = [[NSOpenGLContext alloc] initWithFormat: pixelformat shareContext: sharedContext];\r\n    **NSOpenGLPixelBuffer*** pbuffer = [[NSOpenGLPixelBuffer alloc] **initWithTextureTarget: _traits->target textureInternalFormat: _traits->format textureMaxMipMapLevel: _traits->level pixelsWide: _traits->width pixelsHigh: _traits->height**];\r\n    \r\n    [_context **setPixelBuffer: pbuffer cubeMapFace: _traits->face mipMapLevel:_traits->level currentVirtualScreen: 0**];\r\n    \r\n    [pool release];"},"comment":{"url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph/issues/comments/438772673","html_url":"https://github.com/openscenegraph/OpenSceneGraph/issues/661#issuecomment-438772673","issue_url":"https://api.github.com/repos/openscenegraph/OpenSceneGraph/issues/661","id":438772673,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODc3MjY3Mw==","user":{"login":"loening","id":16102577,"node_id":"MDQ6VXNlcjE2MTAyNTc3","avatar_url":"https://avatars0.githubusercontent.com/u/16102577?v=4","gravatar_id":"","url":"https://api.github.com/users/loening","html_url":"https://github.com/loening","followers_url":"https://api.github.com/users/loening/followers","following_url":"https://api.github.com/users/loening/following{/other_user}","gists_url":"https://api.github.com/users/loening/gists{/gist_id}","starred_url":"https://api.github.com/users/loening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loening/subscriptions","organizations_url":"https://api.github.com/users/loening/orgs","repos_url":"https://api.github.com/users/loening/repos","events_url":"https://api.github.com/users/loening/events{/privacy}","received_events_url":"https://api.github.com/users/loening/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T18:43:21Z","updated_at":"2018-11-14T18:43:21Z","author_association":"NONE","body":"Thanks a lot."}}
{"actor":{"display_login":"loening"}}