]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/pipelinestate_backend.h
Support binding individual mipmap levels of textures
[libs/gl.git] / source / backends / opengl / pipelinestate_backend.h
index a8f2d306109109f440661b066410bb947973940f..9198706c7344d7f23f4369f3ddc8208598dcfbd5 100644 (file)
@@ -21,6 +21,8 @@ protected:
        OpenGLPipelineState(OpenGLPipelineState &&) { }
        ~OpenGLPipelineState();
 
+       static bool can_bind_tex_level(unsigned l) { return l==0; }
+
        void apply() const;
 
        static void clear();