diff --git a/include/pag/pag.h b/include/pag/pag.h index 6a95b22416..d6ddf1abbe 100644 --- a/include/pag/pag.h +++ b/include/pag/pag.h @@ -1217,7 +1217,6 @@ class PAG_API PAGSurface { bool contextAdopted = false; GLRestorer* glRestorer = nullptr; - explicit PAGSurface(std::shared_ptr drawable, bool contextAdopted = false); bool draw(RenderCache* cache, std::shared_ptr graphic, BackendSemaphore* signalSemaphore, diff --git a/src/rendering/utils/GLRestorer.h b/src/rendering/utils/GLRestorer.h index 6de6dfb7f6..ebd94335eb 100644 --- a/src/rendering/utils/GLRestorer.h +++ b/src/rendering/utils/GLRestorer.h @@ -32,6 +32,6 @@ class GLRestorer { int blendSrcAlpha = 0; int blendDstAlpha = 0; }; -} +} // namespace pag -#endif //PAG_GLRESTORER_H +#endif //PAG_GLRESTORER_H