Fixed rendering

Resource encoder now store unsigned char instead of signed char


Former-commit-id: 648dd1d55facd40bc37075291782a54cbbc4811f
This commit is contained in:
Lynix
2013-11-26 15:25:43 +01:00
parent a8a0bcf005
commit 0e99205046
7 changed files with 55 additions and 59 deletions

View File

@@ -23,9 +23,6 @@ function encodeResources()
headerContent = ""
for i = 1, contentLength do
local b = resourceContent:sub(i, i):byte()
if (b >= 128) then
b = b - 256
end
headerContent = headerContent .. string.format("%d,", b)
end