static bool SetCurrentPlatform(GraphicsPlatform actualImpl) { //must init once lock (initLock) { if (s_selectedGfxPlatform == null) { s_selectedGfxPlatform = actualImpl; return true; } } return false; } }