Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - asim-v

Pages: [1]
1
Holy shit I was so confused by this... thanks.

2
Having a weird behavior here with SFML 2.5.1

   
    if (!m_sftexture->loadFromFile(m_filepath));
    {
        std::cout << "--Warn-- Unable to load texture from : " << m_filepath << std::endl;
    }
    m_sfsprite->setTexture(*m_sftexture, true);
 

I can post more information if necessary, but the sprite is still drawn to the screen. The only output I get is my own warning message meaning loadFromFile returned false. If I butcher the file path then I get the error message stating it is unable to find the file.

Pages: [1]