deps #1 As I wrote you might be running it with DirectX. Try adding this before the call to Graphics:SetGraphicsDriver GLMax2DDriver()