]> git.tdb.fi Git - libs/gl.git/blob - source/backends/opengl/texture1d_backend.h
Move all OpenGL-specific code to a separate directory
[libs/gl.git] / source / backends / opengl / texture1d_backend.h
1 #ifndef MSP_GL_TEXTURE1D_BACKEND_H_
2 #define MSP_GL_TEXTURE1D_BACKEND_H_
3
4 #include "texture.h"
5
6 namespace Msp {
7 namespace GL {
8
9 class OpenGLTexture1D: public Texture
10 {
11 protected:
12         OpenGLTexture1D();
13
14         void allocate();
15         void sub_image(unsigned, int, unsigned, const void *);
16 };
17
18 using Texture1DBackend = OpenGLTexture1D;
19
20 } // namespace GL
21 } // namespace Msp
22
23 #endif