1
General / Re: How to debug NDK-projects?
« on: March 01, 2017, 02:44:41 am »My android-application "stops working" upon starting.Probably you forgot to put
Is there a way to debug this? The SFML example worked perfectly fine, could play around with it and nothing stopped working, but my own project is a bit larger and depends on Lua as well.
Code: [Select]
if (event.type == sf::Event::Closed)
{
window.close();
}
if (event.type == sf::Event::Resized)
{
view.setSize(event.size.width, event.size.height);
view.setCenter(event.size.width/2, event.size.height/2);
window.setView(view);
}
and sf::View view = window.getDefaultView(); before the main loop