Search found 2753 matches

by slime
Sat Apr 06, 2019 4:10 pm
Forum: General
Topic: 11.0 bugs
Replies: 45
Views: 15804

Re: 11.0 bugs

pgimeno wrote:
Fri Apr 05, 2019 10:44 am
Could we have the embedded boot.lua include the empty lines in the original source?
I've applied your change, thanks!
https://bitbucket.org/rude/love/commits ... ad4b938620
by slime
Tue Mar 26, 2019 1:02 am
Forum: General
Topic: Threads in graphics module
Replies: 3
Views: 757

Re: Threads in graphics module

Nope. love.graphics only works with an active window (the window owns the graphics context, effectively) and it calls OpenGL functions on the main thread and there has to be an explicit function call to switch the context to a different thread (which would break the main thread if you tried it).
by slime
Mon Mar 25, 2019 11:53 pm
Forum: General
Topic: Threads in graphics module
Replies: 3
Views: 757

Re: Threads in graphics module

If you use love.graphics functions, methods, and objects in other threads it will cause crashes in the best case, or a slow and hard-to-track eventual corruption of your game's memory in the worst case. On top of the typical synchronization problems, OpenGL is both completely full of state (so calli...
by slime
Tue Mar 05, 2019 10:30 pm
Forum: Support and Development
Topic: Shader texture function not found
Replies: 2
Views: 1139

Re: Shader texture function not found

The function is only available in GLSL 1.30 or newer (and love uses GLSL 1.20 by default) - you can opt into GLSL 3.30 by putting "#pragma language glsl3" at the very top of the shader (without quotes). However, if you just rename all the "texture" calls to "Texel" instead, it will work in all GLSL ...
by slime
Sat Feb 23, 2019 2:02 am
Forum: Support and Development
Topic: how does Enet handle large packets? i've read up on a vulnerability with it.
Replies: 2
Views: 2078

Re: how does Enet handle large packets? i've read up on a vulnerability with it.

Those CVEs say they only apply to enet versions from 2005 and earlier, whereas love uses a much more recent version.
by slime
Fri Feb 08, 2019 2:56 am
Forum: Support and Development
Topic: What happened to LOVE render?
Replies: 1
Views: 1369

Re: What happened to LOVE render?

There is a problem in LÖVE 11 affecting some (but not all) graphics drivers which causes increased pixel processing compared to previous versions of LÖVE. It will be fixed in 11.3 – you can get a pre-release build for Windows here: https://ci.appveyor.com/api/buildjobs/a6ytxtw5aec7c8ml/artifacts/bui...
by slime
Fri Feb 01, 2019 11:30 am
Forum: Support and Development
Topic: X Error of failed request: BadWindow (invalid Window parameter)
Replies: 5
Views: 1469

Re: X Error of failed request: BadWindow (invalid Window parameter)

Make sure the version of SDL2 on your system is as up to date as possible (2.0.9 is the latest version).
by slime
Tue Jan 29, 2019 12:39 am
Forum: General
Topic: Floating Point color
Replies: 15
Views: 2170

Re: Floating Point color

Is there an actual problem demonstrable with real Lua code here? Fixed-point colors have never had 50% of the color component's strength as a representable value, they've always mapped between [0, 1] and [0, maxinteger] such that fixed point 0 == floating point 0 and maxinteger == floating point 1, ...
by slime
Sun Jan 20, 2019 1:16 am
Forum: Support and Development
Topic: Switch Pro Controller support for PC
Replies: 4
Views: 1352

Re: Switch Pro Controller support for PC

Specifically, the third-party libraries love uses on Windows are built using CMake when love is built, but SDL's new joystick code which includes better Switch Pro controller support doesn't get compiled in when you build SDL with CMake. I'll need to modify SDL's CMake generator file to fix it.
by slime
Thu Jan 17, 2019 9:51 pm
Forum: Support and Development
Topic: [SOLVED]canvases come up empty on windows
Replies: 5
Views: 1776

Re: canvases come up empty on windows

Wine probably isn't a good platform to test graphics on - emulation layers come with all sorts of their own graphics problems which don't exist on the real deal.