gd lua fix

master
wipedlife 2021-07-03 04:42:40 +03:00
parent f85f063046
commit 8ae2c9472c
2 changed files with 8 additions and 6 deletions

View File

@ -8,7 +8,9 @@ function gd:new(width, height,quality,color)
obj.quality = quality or 50
obj.gd = nil
obj.defFont = {}
obj.background = color or obj:getColorFromArray(color)
obj.background = color or images.gdRandColor()
--
function obj:getSize()
return obj.width,obj.height

View File

@ -328,10 +328,10 @@ local function checkEd25519rsa ()
ed25519rsa.freeaKey(rsa)
ed25519rsa.freeaKey(rsa_)
end
--checkEd25519rsa ()
--GMPTEST()
--CryptocoinsTest()
--checkGD(120,120,100,color)
--EncDecTest()
checkEd25519rsa ()
GMPTEST()
CryptocoinsTest()
EncDecTest()
checkGD(120,120,100,color)