if t.window.vsync == true then
love.graphics.print("vSync: Enabled",0,20)
elseif t.window.vsync == false then
love.graphics.print("vSync: Disabled",0,20)
end
I do know that "t" is actually just a local table in the conf function so I know that you can't access it by t.windows.vsync. That's why you're getting that error. If we found the table that the conf function passes on startup then I'm sure you could access it.
Other than that I can say that you could use the love.graphics.setMode() function in the love.load to set the vsync to false and from there store a variable somewhere that vsync is false. And just create a function so that everytime it's called it toggles vsync and changes the vsync to the opposite boolean value for displaying purposes.
Sorry I can't help ya more. But the big wigs know more about LÖVE's functions and structure than little young me here. Good Luck man.
local width, height, flags = love.window.getMode( )
if flags.vsync then
love.graphics.print("vSync: Enabled",0,20)
else
love.graphics.print("vSync: Disabled",0,20)
end