SFML community forums

Help => Graphics => Topic started by: Hinchy on September 21, 2013, 09:35:45 am

Title: glitchy unusable video on OS X
Post by: Hinchy on September 21, 2013, 09:35:45 am
this is what SFML looks like on my mac for whatever reason.
tried a while back with SFML 2.0, tried again with SFML 2.1, it's still like this.

(http://i.imgur.com/yeLw4oV.png)

everything else appears to be working, from what little I can tell from sound and button presses. it's just the graphics.
dunno what the heck is up with this - help!
Title: Re: glitchy unusable video on OS X
Post by: Nexus on September 21, 2013, 10:09:23 am
Have you updated your graphics driver?

What graphics card do you use? Does the problem also appear with the samples in SFML, or maybe even other OpenGL applications?
Title: AW: glitchy unusable video on OS X
Post by: eXpl0it3r on September 21, 2013, 10:13:56 am
Also what are you drawing? What do you mean with "video"?
Title: Re: glitchy unusable video on OS X
Post by: Hinchy on September 22, 2013, 12:05:18 am
Have you updated your graphics driver?
The only way of updating a video driver on a Mac is just updating the entire OS, and I'm on the most recent version.

What graphics card do you use?
It's an Intel integrated graphics... can't remember which one. This same game works fine on the same laptop compiled under Windows, so I don't think that's the issue.

Does the problem also appear with the samples in SFML, or maybe even other OpenGL applications?
Not sure if it appears on the SFML samples; I'll check. Other OpenGL applications are fine to my knowledge.

Also what are you drawing? What do you mean with "video"?
I'm just drawing sf::Sprites and sf::Texts. By video I just meant graphical output
Title: Re: glitchy unusable video on OS X
Post by: Hinchy on September 22, 2013, 12:14:39 am
Okay, I just found out it's actually specifically about rendering to a sf::RenderTexture. I disabled the sf::RenderTexture stuff and now the game is working properly.

Is sf::RenderTexture known to be broken on OS X? Because it is very that.
Title: Re: glitchy unusable video on OS X
Post by: Ixrec on September 22, 2013, 02:26:14 am
Could you post the rendertexture code that appears to be broken?
Title: Re: glitchy unusable video on OS X
Post by: Hiura on September 22, 2013, 09:00:26 am
I'll emphasise what others said: without a sscce (http://sscce.org/), it's hard to help.