WIP: Graphics Overhaul #2

Draft
naifb wants to merge 18 commits from buffer_update into main
Showing only changes of commit 2c4392a51e - 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); }