Commit Graph

3660 Commits

Author SHA1 Message Date
niki 99e1c0034d make love lua 5.4 conform 2020-08-14 19:27:42 +02: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
Alex Szpakowski 20b5ba6edb Merge pull request #1553 from namtabmai/set-win-title-on-create
Changed to set the window title during creation rather than after
2020-03-02 17:37:26 -04: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 ee546b271a Github CI status label in the readme links to the CI page 2020-02-17 02:17:38 -04:00
Miku AuahDark 56cce88655 Update readme and license to refer to new dr_flac link. 2020-02-16 12:06:27 +08: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
Miku AuahDark 2cd2119fb1 Revert "AppVeyor: Add -j2 to cmake build command."
Looks like AppVeyor's CMake is too old to support that.
2020-01-27 11:32:29 +08:00
Miku AuahDark 1232fab431 AppVeyor: Add -j2 to cmake build command.
This should theoretically speed up Windows compilation.
2020-01-27 11:24:56 +08:00
Miku AuahDark 0e5a6d8ba5 Actions: use -j2 for Windows cmake build (hopefully faster)
[skip ci]
2020-01-26 21:23:33 +08:00
Alex Szpakowski e557ae9fbf Merge pull request #3 from reinerh/spelling
Fix typos
2020-01-24 17:43:33 -04:00
Reiner Herrmann 27942191c5 Fix typos 2020-01-24 18:56:16 +01:00
Alex Szpakowski 2b124c163f Merge pull request #2 from MisterDA/permissions
Change file permissions from 755 to 644
2020-01-15 13:27:46 -04:00
Alex Szpakowski 6e21b0d4e4 Merge pull request #1 from MisterDA/gitattributes
Create a gitattributes file
2020-01-15 13:27:10 -04:00
Antonin Décimo 66e3f29a68 Change file permissions from 755 to 644 2020-01-15 14:59:00 +01:00
Antonin Décimo 88d2c52d10 Create a gitattributes file
When creating an archive, the GitHub repository and VCS-specific files
are now ignored.
The diff "hunk header" is customized for C/C++ [1].

[1]: https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
2020-01-15 14:50:19 +01:00
Alex Szpakowski 55e1ce6579 github actions: minor updates to Windows CI
use a platform-specific name for build artifacts, and use VS2019 toolset instead of VS2017 toolset.
2020-01-13 17:51:49 -04:00
Alex Szpakowski a4f407e961 Remove bitbucket-pipelines file 2020-01-13 17:46:08 -04:00
Alex Szpakowski 9b4789eebf Update readme with more correct links. 2020-01-13 17:45:34 -04:00
Miku AuahDark 088866f3a6 Actions CI 2020-01-13 11:18:05 +08:00
Alex Szpakowski 2058f43432 Appveyor: pull megasource from the new git repo instead of the old hg repo. 2020-01-12 19:46:11 -04: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
Alex Szpakowski fc4847c69d Update copyright for the new year 2020-01-03 22:40:36 -04:00
Paul Cercueil 0bac89e00f Fix build on MIPS
On MIPS toolchains, the 'mips' keyword is a macro defined to 1.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-19 11:36:33 +01:00
Alex Szpakowski 6a552d5a6f Allow Canvases to use the r16, rg16, and rgba16 pixel formats. 2019-11-18 22:45:54 -04:00