TINYGL: removed commented out
This commit is contained in:
parent
83626dce94
commit
da01fb30b6
2 changed files with 0 additions and 12 deletions
|
@ -262,7 +262,6 @@ void tglDeleteTextures(int n, const unsigned int *textures) {
|
|||
tglBindTexture(TGL_TEXTURE_2D, 0);
|
||||
}
|
||||
t->disposed = true;
|
||||
//TinyGL::free_texture(c, textures[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -246,17 +246,6 @@ void tglUploadBlitImage(BlitImage *blitImage, const Graphics::Surface& surface,
|
|||
|
||||
void tglDeleteBlitImage(BlitImage *blitImage) {
|
||||
blitImage->_isDisposed = true;
|
||||
/*
|
||||
if (blitImage != nullptr) {
|
||||
TinyGL::GLContext *c = TinyGL::gl_get_context();
|
||||
for (uint32 i = 0; i < c->blitImages.size(); i++) {
|
||||
if (c->blitImages[i] == blitImage) {
|
||||
c->blitImages.remove_at(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
delete blitImage;
|
||||
}*/
|
||||
}
|
||||
|
||||
template <bool disableColoring, bool disableBlending, bool enableAlphaBlending>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue