61
Window / sv::VideoMode memory leak
« on: January 28, 2011, 09:19:14 am »
Awesome. What actually caused the leak?
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.
int i = 0;
while (buf[i] != '\0")
{
cout << buf[i];
i++;
}
cout << endl;
sf::VideoMode best_mode = sf::VideoMode::GetMode(0);
sf::VideoMode best_mode;
void Initialise() : best_mode(sf::VideoMode::GetMode(0))
{
...
}
1. I couldn't run the source file here: http://www.sfml-dev.org/tutorials/1.6/window-opengl.php.
First error I get is: | undefined reference to `glClearDepth@8'| followed by 22 more errors that say the same thing regarding gl related code there. Is there any SFML library I need to link? (currently have system, window and graphics linked).
Well you could simply use something like Wordpress or simply a CMS website.