Skip to content

Commit b37ab6b

Browse files
Update COpenGLShader.h
1 parent 667abc8 commit b37ab6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nbl/video/COpenGLShader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class COpenGLShader : public IGPUShader
2727
: IGPUShader(std::move(dev), _stage, std::move(_filepathHint)),
2828
m_code(std::move(_spirv)), m_containsGLSL(_contentType == IShader::E_CONTENT_TYPE::ECT_GLSL)
2929
{
30-
assert(_contentType == IShader::E_CONTENT_TYPE::ECT_GLSL || _contentType == IShader::E_CONTENT_TYPE::ECT_SPIRV);
30+
assert(false); // OpenGL backend officially killed
3131
}
3232

3333
inline const asset::ICPUBuffer* getContent() const { return m_code.get(); };
@@ -44,4 +44,4 @@ class COpenGLShader : public IGPUShader
4444

4545
}
4646

47-
#endif
47+
#endif

0 commit comments

Comments
 (0)