It's hardcoded in src/modules/graphics/wrap_Graphics.lua, so you'd have to change the source code. The upcoming 0.11 seems to have support for newer versions.
Well, the defaults are hardcoded, but to me it seems that would be possible to study the code and use love.graphics._setDefaultShaderCode to work around that limitation, without modifying the Löve sources.
pgimeno wrote: ↑Fri Feb 02, 2018 12:45 pm
Well, the defaults are hardcoded, but to me it seems that would be possible to study the code and use love.graphics._setDefaultShaderCode to work around that limitation, without modifying the Löve sources.
It would certainly be possible, but that requires to actually read the code and not just skim through it before making premature assumptions. Not my cup of tea, obviously
Related question: I have trouble viewing the 0.10.2 tagged wrap_Graphics.lua when browsing the repository in a browser. The link Bitbucket gave me is a 404. It almost worked another time, but half the files didn't show up. Is it just me or is it impossible to browse the 0.10.2 source code on Bitbucket?
I believe the discrepancy arises because the file grump tried to test this with was moved between versions outside of the opengl directory (check the default branch), hence why bitbucket fails to find it with an older tag... still weird, but it's an explanation; i'm suprised you found the correct link though.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.