Skip to content

Commit

Permalink
Fix some compiler warnings (maplibre#2569)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilsnd authored Jul 10, 2024
1 parent eb15336 commit a34817c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion include/mbgl/mtl/renderer_backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class RendererBackend : public gfx::RendererBackend {

const MTLDevicePtr& getDevice() const { return device; }
const MTLCommandQueuePtr& getCommandQueue() const { return commandQueue; }
const bool isBaseVertexInstanceDrawingSupported() const { return baseVertexInstanceDrawingSupported; }
bool isBaseVertexInstanceDrawingSupported() const { return baseVertexInstanceDrawingSupported; }

protected:
std::unique_ptr<gfx::Context> createContext() override;
Expand Down
9 changes: 0 additions & 9 deletions src/mbgl/gfx/stencil_mode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,5 @@ class StencilMode {
}
};

template <StencilFunctionType F>
constexpr StencilFunctionType StencilMode::SimpleTest<F>::func;

template <StencilFunctionType F>
constexpr uint32_t StencilMode::SimpleTest<F>::mask;

template <StencilFunctionType F>
constexpr StencilFunctionType StencilMode::MaskedTest<F>::func;

} // namespace gfx
} // namespace mbgl

0 comments on commit a34817c

Please sign in to comment.