mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
deleting old texture data from the GPU
This commit is contained in:
@@ -61,6 +61,8 @@ namespace vb01{
|
||||
}
|
||||
|
||||
void Texture::loadImageData(ImageAsset *asset, int i){
|
||||
glDeleteTextures(1, &texture[i]);
|
||||
|
||||
width = asset->width;
|
||||
height = asset->height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user