TINYGL: removed commented out

This commit is contained in:
Stefano Musumeci 2014-08-07 21:49:36 +02:00
parent 83626dce94
commit da01fb30b6
2 changed files with 0 additions and 12 deletions

View file

@ -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]);
}
}
}

View file

@ -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>