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

Author Topic: Upside down screenshoots  (Read 8150 times)

0 Members and 3 Guests are viewing this topic.

zarka

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Upside down screenshoots
« on: August 21, 2007, 12:03:25 am »
I just tried to run sfRenderWindow::Capture and the image came out upside down.. am i doing something wrong or is this a bug ?

Code: [Select]

mSprite.Rotate(mApp.GetFrameTime()*50);
mApp.Draw(mSprite);
//Draw our console
mConsole.Draw(mApp);
if(mTakeScreen)
{
mApp.Capture("screenshoot.jpg");
mTakeScreen = false;
}
/// Update the window
mApp.Display();


mConsole.Draw(mApp) renders some sfStrings and a sfSprite using mApp.Draw()
//Zzzarka

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Upside down screenshoots
« Reply #1 on: August 21, 2007, 08:29:20 am »
It's a bug ;)

It's now fixed.
Laurent Gomila - SFML developer

 

anything