Removed GLEW dependency (using GLAD instead), axes now use shader, should now work better
This commit is contained in:
1 parent
fa6109cb2e
commit
a992661c6a
16 files changed
+25215
-51
No files matched your search
@@ -114,6 +114,8 @@ bool texture_from_gl_write(Texture* self, const std::string& path)
|
||||
|
||||
void texture_free(Texture* self)
|
||||
{
|
||||
if (self->isInvalid) return;
|
||||
|
||||
glDeleteTextures(1, &self->id);
|
||||
*self = Texture{};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user