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

Author Topic: Texture error(solved)  (Read 1047 times)

0 Members and 1 Guest are viewing this topic.

Mr_Blame

  • Full Member
  • ***
  • Posts: 192
    • View Profile
    • Email
Texture error(solved)
« on: March 28, 2015, 09:53:08 am »
Hello :) and have a huge problem with SFML I created a project, setuped it.

Than I wrote it
sf::RenderWindow Wind(sf::VideoMode(800,600), "main");
sf::Texture tex;
tex.loadFromFile("image.png");
 
So when I load a texture some creepy stuff appears in console in speed of sound and than my program crashes! What does that means?
« Last Edit: April 09, 2015, 08:39:31 pm by Mr_Blame »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Texture error
« Reply #1 on: March 28, 2015, 09:54:50 am »
You're using release libs in debug mode.
Laurent Gomila - SFML developer