Search found 2781 matches

by slime
Mon Mar 25, 2019 11:53 pm
Forum: General
Topic: Threads in graphics module
Replies: 3
Views: 1869

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: 1855

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: 2757

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: 1982

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: 2319

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: 4088

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: 1954

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: 2267

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.
by slime
Sat Jan 12, 2019 4:34 pm
Forum: Support and Development
Topic: 0.9.2 to 11.2 love.graphics cannot function without a window
Replies: 8
Views: 1506

Re: 0.9.2 to 11.2 love.graphics cannot function without a window

The window is automatically created by default in love 11. Your love.conf has the line "t.window = nil" in it, which stops that from happening. If you remove that line it should be automatically created. You can also call love.window.setMode to (re)create the window in main.lua (before calling any l...
by slime
Sat Jan 12, 2019 2:44 pm
Forum: Support and Development
Topic: 0.9.2 to 11.2 love.graphics cannot function without a window
Replies: 8
Views: 1506

Re: 0.9.2 to 11.2 love.graphics cannot function without a window

It never worked to use love.graphics without a window, since the window has always created an OpenGL context (partly since an SDL OpenGL context requires a window to be created in the first place - because on various platforms an OpenGL context and a renderable backbuffer are tied together, and the ...