Fix some compiler warnings (#2569)

This commit is contained in:
mwilsnd
2024-07-10 10:15:09 -04:00
committed by GitHub
parent eb15336867
commit a34817c4a7
2 changed files with 1 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ public:
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;

View File

@@ -44,14 +44,5 @@ public:
}
};
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