New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in love::graphics::opengl::Canvas::setupGrab #15
Comments
Original comment by Pavol Rusnak (Bitbucket: prusnak, GitHub: prusnak). Crash happens also when used canvases have the same size as the main window, i.e. when one uses
instead of
|
Original comment by Martin Felis (Bitbucket: MartinFelis, GitHub: MartinFelis). Unfortunately I cannot reproduce your crash. Actually I cannot even get it to run on the desktop. I guess the problem is not related to newCanvas, instead it has something to do with the shaders. The attached main.lua (the simple newCanvas example from the Löve wiki) works on my phone and on Desktop. Can you check with this file? Also I have updated the Löve code to the newest GLES branch in case it is related. edit: Just re-read that the problems are not related to newCanvas. Nevertheless I cannot get your main.lua to work on Desktop. |
Original comment by Pavol Rusnak (Bitbucket: prusnak, GitHub: prusnak). I encounter the same crash with your example. I furthered reduced the testcase to:
which crashes. This code is OK:
So it seems, the issue is in The problem is the same when I use 128x128 canvas, so this is not a power-of-two issue. |
Original comment by Martin Felis (Bitbucket: MartinFelis, GitHub: MartinFelis). In alpha6 (http://fysx.org/~martin/shared/love_android_sdl2_alpha6.apk) it does not crash, however I do get a OpenGL error:
P.S.: maybe you can join the Löve irc chat? |
Original report by Pavol Rusnak (Bitbucket: prusnak, GitHub: prusnak).
I was experimenting with pixel shaders feature and encountered a crash in love::graphics::opengl::Canvas::setupGrab.
Attaching
main.lua
and output fromadb logcat
.The text was updated successfully, but these errors were encountered: