mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Handles the 0 return case.
This commit is contained in:
parent
3979faf43b
commit
e0751af56d
@ -63,7 +63,11 @@ TextureTarget::TextureTarget(GLsizei width, GLsizei height, GLenum texture_unit,
|
||||
case GL_FRAMEBUFFER_UNSUPPORTED:
|
||||
throw std::runtime_error("GL_FRAMEBUFFER_UNSUPPORTED");
|
||||
default:
|
||||
throw std::runtime_error("Framebuffer status incomplete; " + std::to_string(framebuffer_status));
|
||||
throw std::runtime_error("Framebuffer status incomplete: " + std::to_string(framebuffer_status));
|
||||
|
||||
case 0:
|
||||
test_gl_error();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user