From 0f208c6842ef13d8c68b179eb0ab88a37a0926b0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Jun 2014 01:37:01 +0300 Subject: Add OpenGL extension GL_ARB_invalidate_subdata. And use it for invalidate prepared for deletion images. --- src/resources/subimage.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources/subimage.h') diff --git a/src/resources/subimage.h b/src/resources/subimage.h index 27a76d277..2fe562c30 100644 --- a/src/resources/subimage.h +++ b/src/resources/subimage.h @@ -79,6 +79,10 @@ class SubImage final : public Image const int width, const int height) override final A_WARN_UNUSED; +#ifdef USE_OPENGL + void decRef() override final; +#endif + SDL_Rect mInternalBounds; private: -- cgit v1.2.3-60-g2f50