]> git.tdb.fi Git - libs/gl.git/blob - source/backends/opengl/texture2dmultisample_backend.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / backends / opengl / texture2dmultisample_backend.h
1 #ifndef MSP_GL_TEXTURE2DMULTISAMPLE_BACKEND_H_
2 #define MSP_GL_TEXTURE2DMULTISAMPLE_BACKEND_H_
3
4 #include "texture.h"
5
6 namespace Msp {
7 namespace GL {
8
9 class OpenGLTexture2DMultisample: public Texture
10 {
11 protected:
12         OpenGLTexture2DMultisample();
13
14         void allocate();
15
16 public:
17         virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
18         virtual std::size_t get_data_size() const;
19         virtual void unload() { }
20 };
21
22 using Texture2DMultisampleBackend = OpenGLTexture2DMultisample;
23
24 } // namespace GL
25 } // namespace Msp
26
27 #endif