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

Author Topic: glitchy unusable video on OS X  (Read 2982 times)

0 Members and 1 Guest are viewing this topic.

Hinchy

  • Newbie
  • *
  • Posts: 6
    • View Profile
glitchy unusable video on OS X
« 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.



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!

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: glitchy unusable video on OS X
« Reply #1 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?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: glitchy unusable video on OS X
« Reply #2 on: September 21, 2013, 10:13:56 am »
Also what are you drawing? What do you mean with "video"?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Hinchy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: glitchy unusable video on OS X
« Reply #3 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

Hinchy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: glitchy unusable video on OS X
« Reply #4 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.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: glitchy unusable video on OS X
« Reply #5 on: September 22, 2013, 02:26:14 am »
Could you post the rendertexture code that appears to be broken?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: glitchy unusable video on OS X
« Reply #6 on: September 22, 2013, 09:00:26 am »
I'll emphasise what others said: without a sscce, it's hard to help.
SFML / OS X developer