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: if filedata:
self.cstruct.batch = None self.cstruct.batch = None
tbd = pyTextureBatchDescriptor(i, filedata) tbd = pyTextureBatchDescriptor(i, filedata)
self.amount = tbd.gettexno() self.amount = tbd.gettexnumber()
memsize = self.amount * tbd.gettexturesize() memsize = self.amount * tbd.gettexturesize()
self.cstruct.batch = ctypes.cast( self.cstruct.batch = ctypes.cast(
ctypes.create_string_buffer(memsize), ctypes.create_string_buffer(memsize),