ImagicTheCat
f1a5e47aae
Fix/improve MD5 hashing.
2023-05-24 16:08:27 +02:00
Miku AuahDark
c8e7d4e28a
Change the usage of constexpr to const.
...
VS2013 doesn't support them.
2023-05-03 19:05:01 +08:00
Miku AuahDark
0768583aaa
Merge branch 'workaround_32bitalign'
2023-05-03 18:42:16 +08:00
Sasha Szpakowski
7828d1e0fb
Fix macOS colorspace backport
2023-04-23 21:19:32 -03:00
Miku AuahDark
4ab9a1ce8c
Workaround alignment issue in Linux 32-bit platforms.
...
Apparently geting alignment right pre-C++17 is not easy.
Well, 2^32 fits entirely in Lua "double" 2^53 so it's fine
to assume alignment of 1.
Fixes #1916 .
2023-04-19 16:26:06 +08:00
Sasha Szpakowski
78e7c44424
update version
2023-04-15 09:37:22 -03:00
scurest
f5b8117c19
graphics: fix typo in comment
2023-04-13 22:12:28 -03:00
scurest
106daedf75
graphics: fix for anti-parallel line segments ( #1894 )
...
Handle the case when a line doubles back on itself, eg
love.graphics.setLineJoin("bevel")
love.graphics.line({
180, 400,
200, 400,
100, 400
})
2023-04-13 22:12:22 -03:00
Sasha Szpakowski
a71cfdcb50
Fix typo
2023-04-13 22:12:11 -03:00
Sasha Szpakowski
1080507c7d
Improve variable name readability in line rendering code.
2023-04-13 22:12:05 -03:00
slime
c245397178
Remove NaN-check C assert calls in line drawing code.
...
Users can pass NaN point values into line drawing code. love shouldn't abort the entire program if that happens.
2023-04-13 22:11:46 -03:00
Klonan
7e0f8ca791
FIx polyline adding NaN normals, which breaks the line rendering
2023-04-13 22:11:35 -03:00
slime
f6e9277a6d
macOS: fix colors appearing oversaturated on P3 displays.
...
The fix only applies to macOS 11+ when using OpenGL.
2023-04-13 22:03:23 -03:00
Sasha Szpakowski
02d2dc9427
Fix race condition when a thread is destroyed right after thread:start
2023-01-18 17:27:06 -04:00
Sasha Szpakowski
0f4304edd1
Pump events a couple times during bootup.
...
Fixes unexpectedly slow first frames on macOS.
Fixes #1859
2023-01-15 12:36:15 -04:00
Sasha Szpakowski
592c306276
Fix images with mipmaps when ANGLE is used with an AMD gpu.
2023-01-14 22:35:00 -04:00
Sasha Szpakowski
22b6388a96
Merge pull request #1888 from steveRoll-git/main
...
Allow Canvas:renderTo to accept varargs
2023-01-01 10:59:42 -04:00
Sasha Szpakowski
0b75f6cfa5
Missed some files...
2022-12-31 22:36:48 -04:00
Sasha Szpakowski
c823dbca96
Update copyright year for 2023
2022-12-31 22:25:49 -04:00
Ron Tseytlin
c5d72846c4
Allow Canvas:renderTo to accept varargs
...
The varargs will be forwarded to the function.
2022-12-31 02:32:54 +02:00
Sasha Szpakowski
fc5b53a456
macOS: work around linking issues when building the app executable.
2022-12-30 00:01:10 -04:00
Sasha Szpakowski
b4e9731dfb
Add LOVE_EXPORT to a couple macOS functions called from the exe.
2022-12-29 10:27:52 -04:00
Miku AuahDark
c342339fee
Define LOVE_EXPORT on non-Windows.
...
With GCC or Clang, LOVE_EXPORT is defined as __attribute__((visibility("default"))).
2022-12-28 13:51:08 +08:00
Sasha Szpakowski
a51d45b1a3
Reduce source:tell drift after a streaming Source loops.
...
Fixes #1810
2022-12-04 19:36:38 -04:00
Miku AuahDark
822d363dfa
Remove test #undef from previous commit.
2022-08-26 11:48:46 +08:00
Miku AuahDark
3c2b1b888e
Properly pause all audio processing in Android when minimized.
...
This uses ALC_SOFT_pause_device extension which is available since
OpenAL-soft 1.16. We guarantee almost 100% availability of this extension
since we've been using OpenAL-soft in Android since beginning.
Fixes #1828
2022-08-26 11:45:25 +08:00
slime
8495cefd3b
opengl: fix creating compressed array textures with > 1 layer.
...
Fixes #1817 .
2022-08-09 20:37:48 -03:00
slime
870021b8bd
Potentially fix a crash when calling Text:add("").
...
#1824
2022-07-24 16:23:56 -03:00
Alex Szpakowski
5175b0d1b5
Windows: fix some cases of stuttering in windowed mode.
...
Use DwmFlush instead of OpenGL vsync, when specific conditions are met. Fixes #1628 .
2022-04-17 11:26:06 -03:00
Alex Szpakowski
b3b1317f61
linux: fix issues if certain codepaths are hit while signal handlers are temporarily off.
2022-04-15 23:43:30 -03:00
Alex Szpakowski
e512eff37b
Fix love.threaderror when the error message is empty.
...
Fixes #1775
2022-04-15 23:31:57 -03:00
Yan
09725dd3b9
Windows: Fix compile error: cast from 'HINSTANCE' to 'int' loses precision
2022-03-13 00:26:04 +08:00
Alex Szpakowski
878ad785bc
Remove obsolete macOS window min size workaround.
...
Fixes #1444 .
The reason for the SetWindowMinSize call after exiting fullscreen doesn't seem to be needed anymore, and it was breaking setFullscreen(false) in Linux.
2022-01-16 18:41:14 -04:00
Alex Szpakowski
65667c0f18
Fix sRGB texture internal formats in OpenGL ES 3.
2022-01-16 10:30:56 -04:00
Alex Szpakowski
8e7fd10b6f
Update copyright year for 2022
2021-12-31 18:33:40 -04:00
Miku AuahDark
78a915c8f4
Update dr_flac to 0.12.33
2021-12-31 10:09:36 +08:00
Alex Szpakowski
cf0a45f601
Fix non-stream buffers uploading redundant data when a sub-range is modified.
...
https://love2d.org/forums/viewtopic.php?f=4&t=92458
2021-12-28 15:10:09 -04:00
Alex Szpakowski
cee8f8ae48
Fix a compiler warning
2021-12-24 11:26:11 -04:00
Miku AuahDark
ede0ad0a20
Fix ENet error on certain system with >48-bit pointers.
...
Fixes love2d/love-android#222
2021-12-19 09:47:45 +08:00
megagrump
b359311832
accept Data objects in newFileData
2021-12-13 09:20:17 +01:00
Miku AuahDark
380cc1033e
Change luax_runwrapper chunk name prefix.
2021-12-12 09:34:08 +08:00
Miku AuahDark
fb815edc28
Change luaL_loadbuffer chunkname with prefixes.
2021-12-12 09:23:00 +08:00
Alex Szpakowski
7e271fc53e
Use SDL's rumble APIs for Joystick:setVibration, when available.
...
Fixes #1756
2021-12-11 11:52:42 -04:00
Alex Szpakowski
ebd5f13456
Fix missing ByteData:clone and DataView:clone implementations.
...
Fixes #1754
2021-12-07 19:51:40 -04:00
Alex Szpakowski
7310fde7b9
glslang: fix compilation on certain newer compilers
...
This is already fixed in the latest glslang source code, but updating may be too risky for love 11.x.
2021-12-04 13:11:01 -04:00
Alex Szpakowski
b54aaf65ca
Fix the default error handler drawing when love.graphics is inactive.
...
love.graphics.isActive() is false on mobile devices when the app isn't in the foreground. On iOS there can be a few frames between when the app is backgrounded and when the OS pauses it, where it's not valid to call OpenGL functions or present the screen.
2021-12-04 11:58:00 -04:00
Alex Szpakowski
b87034404e
newVideo: slightly more descriptive error when given an invalid file
2021-11-24 21:15:51 -04:00
Alex Szpakowski
ff12dbbd69
Merge pull request #1729 from MikuAuahDark/fix1728
...
Break OggDemuxer::readPage loop on EOF.
2021-11-24 21:07:04 -04:00
Alex Szpakowski
d0e22fb56e
Merge pull request #1739 from s-walrus/fix/font-getwrap-final-newline
...
Fix #1707 : Font:getWrap() removing final newline charancter
2021-11-20 16:43:56 -04:00
Alex Szpakowski
bd741a8c78
Fix incorrect particle offsets when Quads are used without setOffset.
...
Fixes #1741 .
2021-11-19 21:44:04 -04:00