Alex Szpakowski
d357ceb191
Merge pull request #1648 from xordspar0/tegra-3-bug
...
Work around Ouya driver bug related to texture array support
2020-12-23 20:13:41 -04:00
Alex Szpakowski
ae4fe5bff9
Update Xcode project files
2020-12-23 13:00:24 -04:00
Alex Szpakowski
f3afdee70a
Keep math.mod and string.gfind when LuaJIT 2.1 is used
...
Code written assuming LuaJIT 2.0 is being used might rely on them, even though they're deprecated (and removed in LuaJIT 2.1).
2020-12-23 12:58:26 -04:00
Alex Szpakowski
bfaae71f2a
macOS: only build for x64, for now
...
We don't support arm64 yet
2020-12-22 22:54:43 -04:00
Alex Szpakowski
140c1f38c0
Minor code style tweaks
2020-12-22 19:34:23 -04:00
Alex Szpakowski
73c79d1b73
Merge pull request #1646 from cigumo/ios-audio-interruption-handling
...
adds iOS audio interruption handling and recovery
2020-12-18 22:53:02 -04:00
Miku AuahDark
81272ba5b5
Only use pinned memory on AMD GPUs.
...
As per in Discord, for some reason Intel driver in Linux(?) expose
pinned memory extension and causes driver crash in one test case.
2020-12-15 10:25:38 +08:00
Jordan Christiansen
0fd53e2e3d
Disable GL_EXT_texture_array on OpenGL ES 2.0
...
The Nvidia Tegra 3 driver for Android (used by Ouya) erroneously claims
to support the desktop-oriented GL_EXT_texture_array extension. On
desktop GPUs using (non ES) OpenGL, the glTexImage3D and similar
functions are always present, and the GL_EXT_texture_array extension
simply adds support for texture arrays to those functions. On OpenGL ES
2.0, those functions do not exist, and GL_OES_texture_3D is required to
define them.
Calling glTexImage3D on the Tegra 3 causes a segfault. This change works
around the issue by manually setting GLAD_EXT_texture_array to 0 on
OpenGL ES 2.0 systems, which causes LÖVE to avoid codepaths that assume
that the 3D texture functions are available. It doesn't make sense for
any OpenGL ES 2.0 GPU to claim support for GL_EXT_texture_array.
Fixes #1647
2020-12-09 19:54:36 -06:00
cigumo
74edaf8fba
adds iOS audio interruption handling and recovery
2020-12-08 23:13:52 -03: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
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
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
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
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
6be79bdd89
Fix build errors when Xcode 12 is used.
2020-09-21 22:14:41 -03:00
Alex Szpakowski
9f62bafea2
Merge pull request #1607 from Cartread/patch-1
...
Update boot.lua
2020-08-16 11:34:19 -03:00
Cartread
da644085e4
Update boot.lua.h
2020-08-15 22:57:30 -04:00
Alex Szpakowski
b86151081d
Merge pull request #1609 from nikeinikei/master
...
make love lua 5.4 conform
2020-08-14 21:21:39 -03:00
niki
c3e6659fcb
remove pushliteral version in luaopen_luautf8
2020-08-15 01:28:49 +02:00
niki
99e1c0034d
make love lua 5.4 conform
2020-08-14 19:27:42 +02:00
Cartread
e1d491b7c5
Update boot.lua
...
Removing the alpha variable allows anyone who overwrote the setColor function to see errorhandler's print.
e.g. I'm overwriting the setColor function to accommodate 0-255 values and the error message is being printed with 1/255 alpha (invisible).
Removing the 1 will print the message in black.
P.S. I'm currently overwriting errorhandler for this, but I assume others are also overwriting setColor and see no error messages.
2020-08-13 00:26:17 -04:00
Alex Szpakowski
5f4d2f3323
Fix love.graphics.newVolumeImage when explicit mipmaps are given
...
Fixes issue #1602
2020-08-09 12:12:28 -03:00
Alex Szpakowski
dde3db3006
Apply Image:replacePixels/missing text workaround to more ATI drivers
...
issue #1563
2020-07-12 18:25:55 -03:00
Alex Szpakowski
d60d8867f4
Possible workaround for an Intel driver bug with readable depth buffers
...
https://github.com/love2d/love/issues/1592
2020-07-11 17:21:26 -03:00
Alex Szpakowski
50eeed7bb1
Fix Shader:send's Data variant when a matrix layout arg is used.
...
Also add a second more consistent Data+matrix layout variant of Shader:send which matches the argument order of the table+matrix layout variant - Shader:send(name, matrixlayout, data, ...).
2020-07-10 22:52:23 -03:00
Alex Szpakowski
96b8d29a5c
Clean up code for computing smooth line vertex colors.
2020-06-28 21:58:13 -03:00
Miku AuahDark
cd6bbc1299
Merge branch 'master' of https://github.com/love2d/love
2020-06-15 13:44:28 +08:00
Miku AuahDark
74ceb08dce
Add LodePNG and stb_image to license
2020-06-15 13:43:36 +08:00
Miku AuahDark
4191351f55
Update stb_image to 2.25
2020-06-15 13:23:53 +08:00
Miku AuahDark
5602d29812
Update lodepng to 20200306
2020-06-15 13:18:36 +08:00
Alex Szpakowski
c1d5937d0e
Merge pull request #1584 from qaisjp/fix/github-typo
...
Fix "github" typo in readme
2020-06-08 23:16:26 -03:00
Qais Patankar
ee43401c81
Fix "github" typo in readme
2020-06-08 11:38:45 +01:00
Alex Szpakowski
44033cd143
Fix a compile error on macOS/iOS
2020-05-21 20:08:43 -03:00
Alex Szpakowski
5d570db398
Merge pull request #1578 from pfirsich/timer_zero_start
...
Make love.timer.getTime start at 0 when LÖVE loads
2020-05-21 19:56:19 -03:00
Joel Schumacher
1c5b8431ca
Remove usage of invalid timespec
...
Also add a comment to clarify why the subtraction of timespec values
should work.
2020-05-22 00:33:47 +02:00
Joel Schumacher
ba37b262c0
Fix getTime for Windows
2020-05-21 16:02:12 +02:00
Joel Schumacher
0a5db1ba6d
Subtract start time before double conversion
...
To preserve precision the subtraction of the start time happens with
integer values now and the platform specific implementations have been
split completely.
2020-05-21 15:56:57 +02:00
Joel Schumacher
8d627c88ae
Fix comment regarding first invocation of getTime
2020-05-21 15:56:43 +02:00
Joel Schumacher
b9dd24d3ce
Make getTime() relative to first invocation
2020-05-20 23:49:45 +02:00
Alex Szpakowski
9e03bc3f0d
Merge pull request #1558 from pfirsich/master
...
Add GitHub action steps to build AppImage
2020-03-15 20:13:39 -03:00
Alex Szpakowski
8fac08809a
Eliminate redundant glActiveTexture calls when shaders are used.
...
The redundant calls were introduced with the previous commit.
2020-03-15 19:24:49 -03:00
Joel Schumacher
789110208f
Add GitHub action steps to build AppImage
2020-03-15 18:03:25 +01:00
Alex Szpakowski
9c2454816f
Fix the active GL texture unit not always being set properly.
...
Fixes issues where texture methods wouldn't have any effect, depending on the current internal opengl state.
2020-03-15 01:29:33 -03:00