diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 14:33:54 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 14:33:54 +0200 |
| commit | 19d946504239e3df1b8afb26d2053fb80dfff19e (patch) | |
| tree | df6bfa779d887b43824e519b82702b512e8d1c13 /src/render/OpenGL.hpp | |
| parent | 67343898ff881bbbc767025a033005f45db32a09 (diff) | |
Rendering textures
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index dd380658..c3e1b987 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -8,6 +8,7 @@ #include "Shaders.hpp" #include "Shader.hpp" +#include "Texture.hpp" inline const float matrixFlip180[] = { 1.0f, 0.0f, 0.0f, @@ -35,6 +36,8 @@ public: void end(); void renderRect(wlr_box*, const CColor&); + void renderTexture(wlr_texture*, float matrix[9], float a); + void renderTexture(const CTexture&, float matrix[9], float a); void clear(const CColor&); void scissor(const wlr_box*); |
