Skip to content

Commit

Permalink
winding order from tesellator.h to formats.h (flutter#49865)
Browse files Browse the repository at this point in the history
i have removed WindingOrder from tesellator.h and moved it to formats.h . Fixes flutter/flutter#138832

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
  • Loading branch information
nikkivirtuoso authored Jan 25, 2024
1 parent 4f63b61 commit 13d8cc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions impeller/core/formats.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

namespace impeller {

enum class WindingOrder {
kClockwise,
kCounterClockwise,
};

class Texture;

//------------------------------------------------------------------------------
Expand Down
5 changes: 0 additions & 5 deletions impeller/tessellator/tessellator.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ void DestroyTessellator(TESStesselator* tessellator);
using CTessellator =
std::unique_ptr<TESStesselator, decltype(&DestroyTessellator)>;

enum class WindingOrder {
kClockwise,
kCounterClockwise,
};

//------------------------------------------------------------------------------
/// @brief A utility that generates triangles of the specified fill type
/// given a polyline. This happens on the CPU.
Expand Down

0 comments on commit 13d8cc1

Please sign in to comment.