diff --git a/Libraries/OpenComputersGL/Materials.lua b/Libraries/OpenComputersGL/Materials.lua index 5b22c2d2..d498814d 100755 --- a/Libraries/OpenComputersGL/Materials.lua +++ b/Libraries/OpenComputersGL/Materials.lua @@ -12,8 +12,8 @@ materials.types = { function materials.newDebugTexture(width, height, h) local texture = {width = width, height = height} - local bStep = 1 / height - local sStep = 1 / width + local bStep = 1 / width + local sStep = 1 / height local s, b = 0, 0 local blackSquare = false