Remove unused code

This commit is contained in:
Kovid Goyal
2017-09-12 06:40:37 +05:30
parent 9eea178890
commit 1246032b67
2 changed files with 2 additions and 5 deletions

View File

@@ -29,14 +29,11 @@ class Sprites:
def __init__(self):
self.xnum = self.ynum = 1
self.first_cell_cache = {}
self.second_cell_cache = {}
self.x = self.y = self.z = 0
self.texture_id = None
self.last_num_of_layers = 1
self.last_ynum = -1
self.sampler_num = 0
self.texture_unit = GL_TEXTURE0 + self.sampler_num
self.texture_unit = GL_TEXTURE0
sprite_map_set_limits(glGetIntegerv(GL_MAX_TEXTURE_SIZE), glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS))
def do_layout(self, cell_width=1, cell_height=1):