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

Author Topic: Gray line when drawing an sprite  (Read 3570 times)

0 Members and 2 Guests are viewing this topic.

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
Gray line when drawing an sprite
« on: November 12, 2009, 07:40:58 pm »
At revision 1275, using Windows 7 and a very old notebook.

Here is the code and the image: http://www.64digits.com/download.php?name=Thingy.rar&id=28234Thingy.rar

I just draw an image to a sf::RenderWindow, and then appears two gray lines on the top left corner!

And this is what I get:


BTW, I just get like 10 FPS lol Is just my computer?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gray line when drawing an sprite
« Reply #1 on: November 12, 2009, 08:27:00 pm »
Do you use SFML 2 or SFML 1.6?

Quote
BTW, I just get like 10 FPS lol Is just my computer?

What's your graphics card?
Laurent Gomila - SFML developer

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
Gray line when drawing an sprite
« Reply #2 on: November 12, 2009, 08:35:57 pm »
Hmm I thought I was using SFML2.0, but I think it's 1.6 (I'm using the SVN trunk version).

My graphics card doesn't even have a name... It is an integrated one.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gray line when drawing an sprite
« Reply #3 on: November 12, 2009, 10:47:45 pm »
Quote
Hmm I thought I was using SFML2.0, but I think it's 1.6 (I'm using the SVN trunk version).

Ok. This bug has been fixed in SFML 2.

Quote
My graphics card doesn't even have a name... It is an integrated one.

Ok, so the 10 FPS might just be your computer :)
However, one or two other users reported bad performances on Windows 7, and I still haven't found why.
Laurent Gomila - SFML developer

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Gray line when drawing an sprite
« Reply #4 on: November 13, 2009, 01:29:03 am »
Quote from: "Laurent"
Quote
Hmm I thought I was using SFML2.0, but I think it's 1.6 (I'm using the SVN trunk version).

Ok. This bug has been fixed in SFML 2.

Quote
My graphics card doesn't even have a name... It is an integrated one.

Ok, so the 10 FPS might just be your computer :)
However, one or two other users reported bad performances on Windows 7, and I still haven't found why.
I haven't had any performance troubles on Windows 7. Have those other people updated their drivers?
I use the latest build of SFML2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Gray line when drawing an sprite
« Reply #5 on: November 13, 2009, 08:24:48 am »
Quote
I haven't had any performance troubles on Windows 7. Have those other people updated their drivers?

Yes, I think so.
Laurent Gomila - SFML developer

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
Gray line when drawing an sprite
« Reply #6 on: November 13, 2009, 10:18:25 am »
My case is obvious: is my graphics card's fault.
I don't see any chances of low performance in Windows 7 (it's all the same code for any Windows platform).

 

anything