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

Author Topic: SFML 1.6 graphic bug  (Read 2270 times)

0 Members and 1 Guest are viewing this topic.

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
SFML 1.6 graphic bug
« on: April 08, 2010, 03:50:49 pm »
[img]Yesterday i installed SFML 1.6, and it worked fine. Today it also worked, then i added a few lines of code, and i would get a graphic bug that i will show you in a screenshot. I undo'd all the lines, so it's the exact same code as before, although the graphic problem is still happening, it's not happening on the compiled files i made from yesterday though. Here are screenshots:

(there should be many things on this screen):
http://img169.imageshack.us/i/sfml162.png/

http://img39.imageshack.us/i/sfml16.png/


The lines of code i added were only to set position of some icons, and i reverted everything so..

Spodi

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • http://www.netgore.com/
SFML 1.6 graphic bug
« Reply #1 on: April 08, 2010, 05:39:08 pm »
Can you narrow down to where the error is happening? Better yet, can you produce a cut-down working project that creates this issue?

Also, are you by any chance changing the OpenGL state manually? If so, are you also sure you set RenderWindow.PreserveOpenGLStates() to true?

If you can't produce a minimalist example, would you mind posting your full project (code + all dependencies)?

Voroz

  • Full Member
  • ***
  • Posts: 128
    • View Profile
SFML 1.6 graphic bug
« Reply #2 on: April 08, 2010, 06:56:21 pm »
Ok i tested a bit more and it turns out that the problem was on my side, i hadn't replaced the dll files in the project directory, by doing that i didn't have any problem anymore, now the only problem i have is with the scaling, as everyone else ^^.

 

anything