Fixed unupdated name

This commit is contained in:
_ 2018-05-17 16:46:13 -07:00
parent 6b5931c979
commit 95836e0dfa

View File

@ -135,7 +135,7 @@ class pyTextureBatch:
if filedata:
self.cstruct.batch = None
tbd = pyTextureBatchDescriptor(i, filedata)
self.amount = tbd.gettexno()
self.amount = tbd.gettexnumber()
memsize = self.amount * tbd.gettexturesize()
self.cstruct.batch = ctypes.cast(
ctypes.create_string_buffer(memsize),