Sasha Szpakowski
f4e81fbb5f
metal: fix love.graphics.clear not working in some situations.
...
Fixes #2327 .
2026-06-10 21:07:16 -03:00
Sasha Szpakowski
e13fd06e59
Fix love.graphics.newBuffer not showing the right error message when there's no window.
2026-06-06 10:27:43 -03:00
Sasha Szpakowski
c95b8cf790
graphics: add rgb10a2ui pixel format.
2026-05-31 21:45:30 -03:00
Sasha Szpakowski
b4f6bcfc67
Add refreshrate field to love.window.getFullscreenModes table entries.
2026-05-29 22:46:33 -03:00
Sasha Szpakowski
83ebf679b5
love.window.setFullscreen(true, "exclusive") always uses the desktop's display mode.
...
This avoids switching the display mode when toggling fullscreen or alt-tabbing, after toggling fullscreen.
2026-05-29 22:05:22 -03:00
Syyrion
189eb51a38
fix incomplete data check
2026-05-17 15:02:58 -04:00
Sasha Szpakowski
7bdef86d3c
fix love.graphics.newBuffer not requiring locations for vertex buffer formats.
2026-05-04 20:20:33 -03:00
Sasha Szpakowski
db54893780
mac/iOS: fix build
2026-05-02 16:18:45 -03:00
Sasha Szpakowski
f542481995
vulkan/metal: fix Shader:send(name, DataObject) truncating the data in some cases.
...
Fixes #2313
2026-05-02 16:06:08 -03:00
Sasha Szpakowski
6fbc7ebde5
Merge pull request #2309 from shelvacu-forks/patch-async-setposition
...
lua.window.setPosition: add param waitForSync
2026-04-30 20:54:22 -03:00
Sasha Szpakowski
5f34b8d1c8
opengl: fix buffer:clear causing an opengl error with some drivers
2026-04-29 20:11:03 -03:00
Shelvacu
b1dba5939e
lua.window.setPosition: add param waitForSync
...
if waitForSync is false, then SDL_SyncWindow is not called, and so the
method may return before the requested changes actually happen.
This is backwards-compatible with previous behaviour
2026-04-19 17:59:29 -07:00
Sasha Szpakowski
347006f67d
android: fix compilation
2026-04-17 23:30:32 -03:00
Sasha Szpakowski
36341ed9f7
love.filesystem's require searcher for C modules strips hyphen prefixes.
...
Matches the behaviour of Lua 5.1 and 5.2's built-in C module searcher.
The error message when a valid C module is loaded but no valid function is found is also improved.
Fixes #2307 .
2026-04-17 23:25:36 -03:00
Sasha Szpakowski
ef13719aeb
Merge pull request #2277 from sarodz/issue-1990
...
Fix buffer range merging in HarfbuzzShaper to check cluster contiguity
Fixes #1990
2026-04-16 23:25:37 -03:00
Sasha Szpakowski
999a23c65a
vulkan: attempt to work around swapchain bug in older Linux drivers when going fullscreen
...
fixes #2244
2026-04-16 20:53:54 -03:00
Sasha Szpakowski
90aff3bdbd
graphics: fix state tracking when an indexed batched draw has 0 indices.
...
fixes #2291 .
2026-04-09 20:31:40 -03:00
Sasha Szpakowski
0e0a7d2155
don't allow invalid types for the second param of readbackTexture.
2026-03-31 20:38:52 -03:00
Sasha Szpakowski
4d25b8c97a
vulkan: fix initialization if love.graphics is loaded before love.window.
2026-03-31 20:21:14 -03:00
Sasha Szpakowski
e01908e342
shaders: texture3D() causes a deprecation warning, similar to texture2D()
2026-03-31 20:03:57 -03:00
Sasha Szpakowski
762672882e
physics: newCircleBody and friends return the shape as a second return value.
2026-03-30 23:08:32 -03:00
Sasha Szpakowski
b0a2cb4d7d
Add love.joystick.setBackgroundEvents(bool) and hasBackgroundEvents.
...
Resolves #2270 .
2026-03-30 21:13:13 -03:00
Sasha Szpakowski
9d3b1c7c73
Merge pull request #2297 from nikeinikei/validation_fix
...
fix validation warnings relating to swapchain
2026-03-28 16:11:57 -03:00
Sasha Szpakowski
da216a7c58
opengl: fix readbackAsync causing crashes on quit.
...
Fixes #2298 .
2026-03-28 16:11:38 -03:00
Sasha Szpakowski
ab8dfaa1da
vulkan: fix graphics state after a texture/buffer readback.
...
Fixes #2296 .
2026-03-23 18:39:50 -03:00
niki
1a1265d646
fix validation warnings relating to swapchain
...
for more information: https://docs.vulkan.org/guide/latest/swapchain_semaphore_reuse.html
2026-03-23 22:38:14 +01:00
Sasha Szpakowski
8afe811691
use the C++ override keyword with love.audio's methods
2026-03-01 00:25:44 -04:00
Sasha Szpakowski
927fac1173
remove unused variable
2026-03-01 00:22:39 -04:00
Sasha Szpakowski
035187b637
window: fix setMode using stale minimum size information when applying the size.
...
fixes #2287
2026-03-01 00:20:32 -04:00
sarodz
38ffad41a7
Fix buffer range merging in HarfbuzzShaper to check cluster contiguity
2026-02-25 03:28:05 -05:00
John Doe
fc5eeb11a3
Fix copyright notice date
2026-01-21 18:49:11 +00:00
Sasha Szpakowski
5670df13b6
the default/example error handler can handle restart parameters.
2025-12-08 20:17:41 -04:00
Sasha Szpakowski
4e266c15a0
Fix TextBatch:add erasing old data when the internal buffer is recreated.
...
Fixes #2243 .
2025-11-27 21:07:12 -04:00
Miku AuahDark
6eb7329a06
Add love.themechanged() event.
...
Called when the system theme is changed (e.g. switching from light theme to dark and vice versa).
2025-11-25 15:41:42 +08:00
Miku AuahDark
c4d30081f4
Move love.system.getTheme() to love.window.getSystemTheme().
...
Despite its name, `SDL_GetSystemTheme()` needs the video subsystem to properly function. So, put it in love.window instead.
2025-11-25 15:29:24 +08:00
Miku AuahDark
139a45bfae
Add love.system.getTheme()
...
This function returns wetever the device theme is dark theme, light theme, or unknown.
2025-11-25 13:30:46 +08:00
John Doe
062c5e8e2a
Refactor var name to show its used internally
2025-11-22 22:48:00 +00:00
John Doe
c7de1fef35
Fix gamepath missing type check
2025-11-22 22:45:41 +00:00
John Doe
9e55b14695
Add drag & drop game to start into nogame
2025-11-22 22:45:35 +00:00
Engineer Smith
5c1106ec28
Cleanup whitespace
2025-11-21 17:47:37 +00:00
Engineer Smith
d8ec2d884f
Fix: Simplify traceback line parsing pattern
2025-11-21 17:41:18 +00:00
Engineer Smith
50aec7e10a
Fix: Ensure full traceback is processed by appending a newline
2025-11-20 19:15:59 +00:00
Sasha Szpakowski
fc42127510
Allow JIT compilation on arm/arm64.
2025-11-05 22:42:48 -04:00
Sasha Szpakowski
43e3a7f218
always load love.system before conf.lua is executed, on the main thread.
...
Resolves #2240 .
2025-10-28 21:01:43 -03:00
Serena Postelnek
284d0a2e3c
Buffer: update XYf_STPf_RGBAub DataFormat
...
This seems to be a simple typo, but since the texcoords are labeled as `STPf` the `DataFormat` should be `DATAFORMAT_FLOAT_VEC3`. Format `XYf_STPf` reflects this properly.
2025-10-19 12:35:40 -04:00
snippet
5f4cfacf8a
Properly initialize variables + fix changes.txt
2025-10-14 20:55:49 +11:00
snippet
a8ed7ac7d9
Remove code added accidently for testing
2025-10-01 18:43:01 +10:00
snippet
7b64f24a31
Expose more battery and power connection state
2025-10-01 18:40:11 +10:00
Lu
afa9f711a8
Add love.system.getMemorySize
2025-09-15 12:06:30 -04:00
KiwiSky
8478bbff16
removed comment
2025-08-16 10:05:26 -03:00