Alex Szpakowski
3b67db4672
Add love.graphics.newIndexBuffer
2020-07-21 18:57:50 -03:00
Alex Szpakowski
834cddc34c
Add Mesh:getVertexBuffer.
2020-07-20 22:13:30 -03:00
Alex Szpakowski
e60736f5a6
Add Mesh:set/getIndexBuffer.
2020-07-20 22:10:08 -03:00
Alex Szpakowski
3f4161dd5d
Merge branch '12.0-development' into GraphicsBuffer
2020-07-20 18:13:27 -03:00
Alex Szpakowski
0c7793e195
Fix detection of #pragma language glsl3 in shaders
2020-07-19 15:41:04 -03:00
Alex Szpakowski
f848b201ae
Merge branch 'master' into 12.0-development
2020-07-18 21:29:36 -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
a5cc52478f
Merge branch 'master' into 12.0-development
2020-06-15 13:48:24 +08: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
Miku AuahDark
b092347823
Enable JIT in Android
2020-06-10 12:22:16 +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
2c4bfab1de
Merge branch '12.0-development' into GraphicsBuffer
2020-05-23 20:29:38 -03:00
Alex Szpakowski
0fae32706d
Fix a crash on Windows. Resolves #1570 .
2020-05-23 15:19:28 -03:00
Alex Szpakowski
720d2890eb
Merge branch 'master' into 12.0-development
2020-05-23 14:37:01 -03: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
d13e97fd83
Merge branch 'master' into 12.0-development
2020-03-15 19:25:48 -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
Alex Szpakowski
c5b6cc3228
Merge branch 'master' into 12.0-development
2020-03-15 19:17:04 -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
5db1e835ce
Prevent stb_image from exporting public symbols in the love dll
2020-03-07 16:09:40 -04:00
Alex Szpakowski
e0ff593d09
Fix love.graphics.newTexture(imagedata, {canvas=true}) not using an sRGB format when it should
2020-03-04 20:37:41 -04:00
Alex Szpakowski
10fbdf68f4
Fix love.graphics.newCanvas(w, h) not creating a canvas-capable texture
2020-03-04 20:36:06 -04:00
Alex Szpakowski
d6566c865c
Merge branch 'master' into 12.0-development
2020-03-03 19:41:54 -04:00
Alex Szpakowski
2cff535eb1
Move shader parsing code from Lua to C++.
2020-03-03 19:30:22 -04: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
bbdadcba8a
Fix build
2020-02-28 23:12:22 -04:00
Alex Szpakowski
7fbb68e90e
Merge branch '12.0-development' into GraphicsBuffer
2020-02-28 23:10:21 -04:00
Alex Szpakowski
d77dabaa6b
Add Mesh:getAttachedAttributes.
2020-02-28 23:01:35 -04:00
Alex Szpakowski
e188740c18
Fix a link error on Windows
2020-02-28 22:17:20 -04:00
Alex Szpakowski
e71f27c65d
Move Lua wrapper code for Variants out of the Variant class file.
2020-02-28 21:54:03 -04:00
Alex Szpakowski
b95788c104
Shader:send now returns false if the uniform doesn't exist
...
It also returns false if the uniform exists but was optimized out by the shader compiler. Previously it would cause a Lua error in both situations.
2020-02-27 20:19:55 -04:00
Alex Szpakowski
9425c9224b
Rename internal batched draw code to be more clear
2020-02-27 20:08:50 -04:00
Alex Szpakowski
4197a364fd
Internal restructuring of some Mesh code
2020-02-23 22:39:18 -04:00
Alex Szpakowski
2c90ccabb3
Avoid some hardcoded strings
2020-02-23 16:49:38 -04:00