Commit Graph

3870 Commits

Author SHA1 Message Date
Alex Szpakowski a1861a8ff4 Don't allow calling Texture:generateMipmaps on depth/stencil textures 2020-12-21 13:36:29 -04:00
Alex Szpakowski 975cadf66b Merge branch 'master' into 12.0-development 2020-11-13 17:58:53 -04:00
Alex Szpakowski 0b06d0d1f9 macOS: turn code signing off completely on x64
Previously it was using ad-hoc ('sign to run locally') signing, which breaks on macOS 10.14 and older when a .love is put in the Resources subfolder. Ad-hoc is necessary on Apple Silicon but not x64, if real code signing isn't used.
2020-11-13 17:57:30 -04:00
Alex Szpakowski fc2cf602f6 Fix RopeJoints not working. 2020-11-12 23:46:49 -04:00
Alex Szpakowski 6a1f4ecabe Changelog formatting fix 2020-11-11 21:04:24 -04:00
Alex Szpakowski 5608db4bb0 Updated changelog 2020-11-11 16:35:27 -04:00
Alex Szpakowski 7b2d1dc382 Merge branch 'master' into 12.0-development 2020-11-11 16:12:21 -04:00
Alex Szpakowski 1bcae1abe9 Update changelog 2020-11-11 16:07:35 -04:00
Alex Szpakowski e32935e0f6 Backport Canvas memory stats fix from 12.0.
Fixes #1642
2020-11-11 15:11:00 -04:00
Alex Szpakowski 7a18190c5c Restructure SpriteBatch internal vertex data 2020-11-03 22:12:56 -04:00
Alex Szpakowski c12b46da98 Fix compilation on macOS/iOS after box2d update 2020-11-03 22:11:07 -04:00
Alex Szpakowski cbde2ce76c Merge pull request #1613 from thegrb93/box2d-update
Box2d update to 2.4.1
2020-11-02 21:27:57 -04:00
Alex Szpakowski 3d2614ff2e Fix compilation when SDL < 2.0.5 is used 2020-11-02 18:20:58 -04:00
Alex Szpakowski 5031cb5f56 Images don't hold on to RAM copies of their contents anymore 2020-11-02 18:17:07 -04:00
Alex Szpakowski 316fccfe1b love.window.setMode no longer destroys and recreates the window 2020-11-02 18:08:35 -04:00
Garrett Brown 23a0341676 Fix missing loveAssert 2020-11-01 22:46:31 -05:00
Alex Szpakowski 905e5baf06 Replace highdpi window flag with t.highdpi in love.conf 2020-11-01 21:36:15 -04:00
Alex Szpakowski f0838a4eb7 Merge branch 'master' into 12.0-development 2020-10-26 20:43:52 -03:00
Alex Szpakowski f519d2e2df macOS: fix issues with drag-and-drop to open a love game
- Fix love.event.quit("restart") running the no-game screen instead of the current game.
- Fix fused apps opening other games when drag-and-drop is used.
2020-10-26 20:37:41 -03:00
Alex Szpakowski 7e0c7e3a67 Fix the default mipmap filter for textures. 2020-10-26 18:25:40 -03:00
Alex Szpakowski 99875d83b3 Fix explicit texture MSAA of 1 or 0 not being treated the same as the default 2020-10-26 17:11:50 -03:00
Alex Szpakowski e10444c21f Move Texture:generateMipmaps error handling out of backend code 2020-10-25 23:13:50 -03:00
Alex Szpakowski 442f37e0a1 Fix a potential bug in captureScreenshot on some older systems 2020-10-25 23:00:12 -03:00
Alex Szpakowski 7934ce0a66 Handle backbuffer MSAA manually in love.graphics code
Previously love would use SDL APIs to make the system (WGL etc) handle it, which meant the OpenGL context had to be recreated whenever MSAA changed.
2020-10-25 22:24:07 -03:00
Garrett Brown dd445ed182 Fix b2Assert location and fix isfinite missing 2020-10-17 22:52:58 -04:00
Garrett Brown dfd8c84d43 replace isfinite with std::isfinite 2020-10-17 22:40:07 -04:00
Garrett Brown 1b74b34cce Update userdata stuff to how new box2d wants it 2020-10-17 22:30:01 -04:00
Garrett Brown 77f238767f Update to box2d 2.4.1 2020-10-17 22:15:18 -04:00
Alex Szpakowski 2b0f8495bf Fix a crash in Text:set. Fixes issue #1639 2020-10-16 21:19:50 -03:00
Alex Szpakowski 2b88ca1da4 Merge pull request #1637 from glebm/pspawn
System.cpp: Do not require posix_spawn on "Linux"
2020-10-13 08:47:29 -03:00
Gleb Mazovetskiy 0ad34a3c71 System.cpp: Do not require posix_spawn on "Linux"
Many libc implementations do not implement posix_spawn.
Allow love2d to build without it.
2020-10-13 08:39:54 +01:00
Alex Szpakowski 510354e276 Merge branch 'master' into 12.0-development 2020-10-12 18:52:09 -03:00
Alex Szpakowski 2a45866f0f Fix git command... 2020-10-12 18:29:18 -03:00
Alex Szpakowski 6521ebfabc use the 12.x branch of megasource for CI builds 2020-10-12 18:26:57 -03:00
Alex Szpakowski d083c87d74 Update glslang 2020-10-12 17:29:08 -03:00
Alex Szpakowski fec09d75c8 Merge pull request #1636 from glebm/glad
glad.hpp: Fix include inside a namespace
2020-10-11 23:57:28 -03:00
Gleb Mazovetskiy 186fa4e0ad glad.hpp: Fix include inside a namespace
These includes should not be inside a namespace.
2020-10-11 10:27:32 +01:00
Miku AuahDark d2c42bd746 Merge pull request #1634 from 0x7D2B/patch-1
Fix AUR link (love-hg to love-git)
2020-10-06 18:43:27 +08:00
0x7D2B c2c59f37a5 Fix AUR link (love-hg to love-git) 2020-10-06 07:45:45 +00:00
Alex Szpakowski 8c86515d04 Revert "Windows: reduce stuttering in windowed mode via DwmFlush"
This reverts commit 5dd4a463be.
2020-10-01 22:09:47 -03:00
Alex Szpakowski 5dd4a463be Windows: reduce stuttering in windowed mode via DwmFlush
Resolves issue #1628
2020-09-29 20:22:41 -03:00
Alex Szpakowski dcf0968f05 Merge pull request #1627 from MikuAuahDark/sounddata-copyfrom
SoundData:copyFrom() and SoundData:slice()
2020-09-22 19:35:54 -03:00
Miku AuahDark e8ddcdceb2 Fix copy on bit depth mismatch 2020-09-22 13:50:49 +08:00
Miku AuahDark 87e1955bcf Fix compare logic. 2020-09-22 13:09:33 +08:00
Miku AuahDark 04b20624b2 Add SoundData:slice
SoundData:slice(start, length = -1)

When length = -1, it will slice until the end.
2020-09-22 13:09:03 +08:00
Miku AuahDark e71441d68b Add SoundData:copyFrom
SoundData:copyFrom(src, srcStart, count, dstStart = 0)
2020-09-22 12:06:26 +08:00
Alex Szpakowski 26326a01e0 Merge branch 'master' into 12.0-development 2020-09-21 22:35:19 -03:00
Alex Szpakowski 6be79bdd89 Fix build errors when Xcode 12 is used. 2020-09-21 22:14:41 -03:00
Alex Szpakowski 0fa0d39a5d Merge pull request #1622 from thegrb93/add-getsetstate
Add Body.getKinematicState and Body.setKinematicState
2020-09-21 16:38:57 -03:00
Garrett Brown bd6d50e2a9 Rename to get/setKinematicState 2020-09-20 21:54:02 -04:00