It doesn't (yet), unfortunately.
11.0 bugs
Re: 11.0 bugs
love.filesystem.getDirectoryItems( dir )
with dir being a symlink to a directory returns an empty table.
love.filesystem.areSymlinksEnabled( ) is true.
This pretty much breaks symlink support for my purposes, haven't found a workaround yet.
with dir being a symlink to a directory returns an empty table.
love.filesystem.areSymlinksEnabled( ) is true.
This pretty much breaks symlink support for my purposes, haven't found a workaround yet.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 11.0 bugs
Even if you append a slash?
-
- Party member
- Posts: 134
- Joined: Tue Mar 29, 2011 11:05 pm
Re: 11.0 bugs
In both 11.0 hotfix and 11.1 for me calling love.window.setMode() seems to crash all spritebatches and they no longer can be drawn into or drawn onto screen, just black output similar to the previous canvas related bug in original 11.0.
Anyone else seen this issue?
I've tried making my call to change the mode synced either before or after both update and draw routines and tested each case, always the same thing occurs.
Have had a deeper look, it seems that the two spritebatches I used get wiped each time love.window.setMode() is called.
Is this expected? If I rebuild them then everything works fine, thankfully!
Anyone else seen this issue?
I've tried making my call to change the mode synced either before or after both update and draw routines and tested each case, always the same thing occurs.
Have had a deeper look, it seems that the two spritebatches I used get wiped each time love.window.setMode() is called.
Is this expected? If I rebuild them then everything works fine, thankfully!
Re: 11.0 bugs
In a shader, TransformMatrix does not seem to work any longer. It seems to be always a unit matrix.
Was it dropped? If so, this would be a documentation problem.
Was it dropped? If so, this would be a documentation problem.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: 11.0 bugs
Automatically batched vertices are transformed on the CPU, so TransformMatrix doesn't include the current love.graphics transform in auto-batched draws.
Re: 11.0 bugs
Dang, thank you. I've added that to the documentation.
Re: 11.0 bugs
I've looked into this. Apparently, commit 3086:a0827b5e39b7 introduced a dependency on pthread, yet that dependency is not reflected in the build system. Somehow, dynamic builds get along with it, but static builds fail.
After a few hours of struggling with cmake, I noticed that that's the wrong tool in this case, so after a few more hours of struggling with autoconf, I came up with two possible solutions, the easy, quick'n'dirty one and the complex, do-the-right-thing one.
The easy one is:
Code: Select all
diff -r 0d1c0ea65da0 platform/unix/genmodules
--- a/platform/unix/genmodules Sun Dec 10 00:16:13 2017 -0400
+++ b/platform/unix/genmodules Sat May 12 20:53:39 2018 +0200
@@ -149,7 +149,7 @@
liblove${love_amsuffix}_la_LIBADD = \
\$(SDL_LIBS) \$(freetype2_LIBS) \$(lua_LIBS)\
\$(openal_LIBS) \$(zlib_LIBS) \$(libmodplug_LIBS)\
- \$(vorbisfile_LIBS) \$(theora_LIBS)
+ \$(vorbisfile_LIBS) \$(theora_LIBS) -lpthread
EOF
Code: Select all
diff -r 0d1c0ea65da0 platform/unix/configure.ac
--- a/platform/unix/configure.ac Sun Dec 10 00:16:13 2017 -0400
+++ b/platform/unix/configure.ac Sat May 12 20:56:18 2018 +0200
@@ -63,6 +63,7 @@
ACLOVE_DEP_SDL2
ACLOVE_DEP_LIBM
ACLOVE_DEP_ZLIB
+ACLOVE_DEP_PTHREAD
# Conditional dependencies
AS_VAR_IF([enable_module_audio], [yes], [ACLOVE_DEP_OPENAL], [])
diff -r 0d1c0ea65da0 platform/unix/deps.m4
--- a/platform/unix/deps.m4 Sun Dec 10 00:16:13 2017 -0400
+++ b/platform/unix/deps.m4 Sat May 12 20:56:18 2018 +0200
@@ -19,6 +19,9 @@
AC_DEFUN([ACLOVE_DEP_LIBM], [
AC_SEARCH_LIBS([sqrt], [m], [], [LOVE_MSG_ERROR([the C math library])])])
+AC_DEFUN([ACLOVE_DEP_PTHREAD], [
+ AX_PTHREAD([], [LOVE_MSG_ERROR([libpthread])])])
+
AC_DEFUN([ACLOVE_DEP_PHYSFS], [
AC_SEARCH_LIBS([PHYSFS_init], [physfs], [], [LOVE_MSG_ERROR([PhysicsFS])])])
diff -r 0d1c0ea65da0 platform/unix/genmodules
--- a/platform/unix/genmodules Sun Dec 10 00:16:13 2017 -0400
+++ b/platform/unix/genmodules Sat May 12 20:56:18 2018 +0200
@@ -149,7 +149,7 @@
liblove${love_amsuffix}_la_LIBADD = \
\$(SDL_LIBS) \$(freetype2_LIBS) \$(lua_LIBS)\
\$(openal_LIBS) \$(zlib_LIBS) \$(libmodplug_LIBS)\
- \$(vorbisfile_LIBS) \$(theora_LIBS)
+ \$(vorbisfile_LIBS) \$(theora_LIBS) \$(PTHREAD_CFLAGS) \$(PTHREAD_LIBS)
EOF
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 11.0 bugs
That's interesting because some dependency (I think SDL2) adds the -pthread flag for me.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests