Miku AuahDark
9c4db00e94
Android: Fix changing orientation with t.window.fullscreen = true
...
Fixes love2d/love-android#196
2020-12-25 21:45:32 +08:00
Alex Szpakowski
fe23c16198
Disable gamma correction on Windows + Intel HD 2/3000 / Intel HD Graphics
...
It's completely broken there. Closes #1592
2020-12-24 20:31:33 -04:00
Alex Szpakowski
90bd8f1811
Update version
2020-12-24 12:45:08 -04:00
Alex Szpakowski
9e460ba53e
Fix explicit window position not being restored in some cases when exiting fullscreen
...
Fixes #1426
2020-12-24 12:29:00 -04:00
Miku AuahDark
57a2a88a09
Android: Rename "openURL" Java method to "openURLFromLOVE"
...
SDL 2.0.14 adds openURL method which conflicts with LOVE one.
2020-12-24 22:15:15 +08:00
Alex Szpakowski
48a13d443b
Fix validating glsl1 shaders using array textures on GLES3
2020-12-23 20:42:12 -04:00
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
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
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
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
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
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
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
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
44033cd143
Fix a compile error on macOS/iOS
2020-05-21 20:08:43 -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
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
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
Andrew West
0efb49dc5f
Changed to set the window title before creation rather than after
2020-03-02 20:51:46 +00:00
Alex Szpakowski
15f0e4109b
Fix a typo in a comment
2020-02-15 13:50:47 -04:00
Alex Szpakowski
813b1e0e69
Remove debug print
2020-02-05 18:03:34 -04:00
Alex Szpakowski
ca84b6db48
More robust error handling for AMD Pinned Memory buffers (issue #1540 )
...
Also print out any errors that are produced from that (for now).
2020-02-05 07:49:38 -04:00
Miku AuahDark
5a27742c34
FLAC: Update dr_flac to 0.12.3
...
Improved seeking for FLAC audio files.
2020-01-29 13:22:13 +08:00
Miku AuahDark
67ee1e4d76
Windows: Actually query page size.
2020-01-28 22:05:05 +08:00
Reiner Herrmann
27942191c5
Fix typos
2020-01-24 18:56:16 +01:00
Antonin Décimo
66e3f29a68
Change file permissions from 755 to 644
2020-01-15 14:59:00 +01:00
Alex Szpakowski
eab3b83a2e
Fix a hard freeze on AMD+Windows systems when the internal buffers used for automatic batching are resized.
2020-01-06 19:58:22 -04:00