diff options
| author | jill <oatmealine@disroot.org> | 2024-03-21 17:46:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-21 14:46:23 +0000 |
| commit | ee00cb1dd87115f7c2b0fb41268e88050f28e7ed (patch) | |
| tree | 3b533b901814fb2cb296460a2cf64daf032109fe /src/render/OpenGL.hpp | |
| parent | 4c796683c05a0eaccc14aae8875f06972f9f3c5e (diff) | |
opengl: report shader compilation errors from screen_shader (#5138)
* opengl: report shader compilation errors from screen_shader
* opengl: prefer .data()
* opengl: move shader error logging to logError
* opengl: quick glGetShaderiv -> glGetProgramiv fix
* opengl: typo fix
* opengl: format fixes
* opengl: minor compile fixes
* opengl: logError -> logShaderError
Diffstat (limited to 'src/render/OpenGL.hpp')
| -rw-r--r-- | src/render/OpenGL.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp index f6dff805..b18e9108 100644 --- a/src/render/OpenGL.hpp +++ b/src/render/OpenGL.hpp @@ -219,6 +219,7 @@ class CHyprOpenGLImpl { CShader m_sFinalScreenShader; CTimer m_tGlobalTimer; + void logShaderError(const GLuint&, bool program = false); GLuint createProgram(const std::string&, const std::string&, bool dynamic = false); GLuint compileShader(const GLuint&, std::string, bool dynamic = false); void createBGTextureForMonitor(CMonitor*); |
