|
Relates :
|
We can safely (and should) move the following platform specific code out of ES2Context and GLFactory:
// JIRA: RT-21739
// TODO: This is a temporary mechanism to work well with Glass on Mac due
// to the CALayer work. Need to be removed in the early future for 3.0
if (PlatformUtil.isMac() || PlatformUtil.isIOS()) {
HashMap devDetails = (HashMap) ES2Pipeline.getInstance().getDeviceDetails();
ES2Pipeline.glFactory.updateDeviceDetails(devDetails, glContext);
|