Skip to content

Calls to GetSceneContext() are invalid due to missing #ifdef #134745

@matanlurey

Description

@matanlurey

Locally my IDE reports this line as invalid:

scene::Scene scene(renderer.GetSceneContext());

That's because the API is conditionally available, behind IMPELLER_ENABLE_3D:

#if IMPELLER_ENABLE_3D
  std::shared_ptr<scene::SceneContext> GetSceneContext() const;
#endif  // IMPELLER_ENABLE_3D

... I'm not sure how this works today as a result or why it works on CI.

Metadata

Metadata

Assignees

Labels

c: tech-debtTechnical debt, code quality, testing, etc.e: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions