X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fsampler_backend.h;h=f90fbb22e298fd4b86f37b5b2e5bf6b97b57321b;hb=HEAD;hp=20ad4b6c262a252683ba38fb1aa3f682b71264b0;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/backends/opengl/sampler_backend.h b/source/backends/opengl/sampler_backend.h index 20ad4b6c..f90fbb22 100644 --- a/source/backends/opengl/sampler_backend.h +++ b/source/backends/opengl/sampler_backend.h @@ -1,10 +1,12 @@ #ifndef MSP_GL_SAMPLER_BACKEND_H_ #define MSP_GL_SAMPLER_BACKEND_H_ +#include + namespace Msp { namespace GL { -class OpenGLSampler +class OpenGLSampler: public NonCopyable { friend class OpenGLPipelineState; @@ -12,6 +14,8 @@ protected: unsigned id = 0; OpenGLSampler(); + OpenGLSampler(OpenGLSampler &&); + ~OpenGLSampler(); static bool check_anisotropic(bool);