![]() |
|
Screen Clearing - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Screen Clearing (/thread-877.html) |
Screen Clearing - TheOneAndOnlyTee - 22-04-2015 Do we now have to clear our screens to remove something? , just asking because i was unable to stop rendering objects the way i usually do. Code: if RenderThis == 1 then
render.drawLine(256,256,266,266)
endTried using one of my old screens and it still worked fine but not a new one. RE: Screen Clearing - Person8880 - 22-04-2015 Yep. Screens (and only screens) hold onto what they've drawn until cleared. RE: Screen Clearing - TheOneAndOnlyTee - 22-04-2015 got worried for a moment there, but then i shoved render.clear() at the top of my render function
|