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/image.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/image.h') diff --git a/src/resources/image.h b/src/resources/image.h index 2c67281b7..868b5690e 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -167,6 +167,8 @@ class Image notfinal : public Resource GLuint getGLImage() const A_WARN_UNUSED { return mGLImage; } + void decRef() override; + GLuint mGLImage; int mTexWidth; int mTexHeight; -- cgit v1.2.3-70-g09d2