Updated Component GPU (markdown)

CokaCola 2014-03-08 06:55:35 -08:00
parent e7bc26cadd
commit 58916ab3ae

@ -41,6 +41,7 @@ Callbacks:
Example use:
```lua
local component = require("component")
local gpu = component.gpu -- get primary gpu component
local w, h = gpu.getResolution()
gpu.fill(1, 1, w, h, " ") -- clears the screen