WIP: Graphics Overhaul #2

Draft
naifb wants to merge 10 commits from buffer_update into main
Showing only changes of commit 5b4ec4f047 - Show all commits

View File

@ -72,10 +72,10 @@ class Buffer : public OpenGLObject {
if (_id) {
glBindBuffer(Target, _id);
} else {
THROW(BufferError(
WARN(BufferError(
Codes::INVALID_BUFFER,
"w/ BufferType " + BufferTypes.at(Target)
));
), 0xFE);
}
}
virtual void unbind() const override { glBindBuffer(Target, 0); }