public override void DeleteTextures(int n, Stream textures) { for (int index = 0; index < n; index++) { int textureIndex = SE.ReadInt32(textures); gl.DeleteTexture(_textures[textureIndex]); CheckError("glDeleteTexture"); _textures[textureIndex] = null; } }