MCPcopy Create free account
hub / github.com/cinder/Cinder / createFromExisting

Method createFromExisting

src/cinder/gl/Context.cpp:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188ContextRef Context::createFromExisting( const std::shared_ptr<PlatformData> &platformData )
189{
190 env()->initializeFunctionPointers();
191 ContextRef result( std::shared_ptr<Context>( new Context( platformData ) ) );
192
193 return result;
194}
195
196void Context::makeCurrent( bool force ) const
197{

Callers

nothing calls this directly

Calls 2

envFunction · 0.85

Tested by

no test coverage detected