diff --git a/Component-GPU.md b/Component-GPU.md index 0e1ba0d..7823f0d 100644 --- a/Component-GPU.md +++ b/Component-GPU.md @@ -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