Set background (clear) colour

2 votes · 0 comments

How to set the background (clear) colour of the framebuffer

raw ·
copy
· download
function setClearColor( r, g, b ) local fb = MOAIGfxDevice:getFrameBuffer() fb:setClearColor( r, g, b ) end

Be the first to comment

Sign in with OpenID