Skip to content

Commit 857786c

Browse files
committed
Update shader.hpp
1 parent 8951d41 commit 857786c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/include/sndx/render/gl/shader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ namespace sndx::render {
7676
}
7777
}
7878

79-
protected:
8079
void destroy() {
8180
if (m_id != 0) {
8281
glDeleteShader(std::exchange(m_id, 0));
8382
}
8483
}
8584

85+
protected:
8686
// returns a error message on error. Empty optional otherwise.
8787
[[nodiscard]]
8888
std::optional<std::string> checkErr() {

0 commit comments

Comments
 (0)