Removed unnecessary call eglGetConfigs call from templates