From 75b850a4365ad2c38bc29fe6ec37827c3aeede4a Mon Sep 17 00:00:00 2001 From: axe97 Date: Tue, 23 Jun 2009 13:54:51 -0700 Subject: [PATCH] fixed RBGA8, again --- TPL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TPL.py b/TPL.py index 95e0a55..1b276fc 100644 --- a/TPL.py +++ b/TPL.py @@ -538,7 +538,7 @@ class TPL(): for k in xrange(2): for l in xrange(i, i + 4, 1): for m in xrange(j, j + 4, 1): - texel = Struct.uint16(data[inp*2:inp*2+2]) + texel = Struct.uint16(data[inp*2:inp*2+2], endian = '>') inp += 1 if (m >= x) or (l >= y): continue