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

Author Topic: Mac window problems  (Read 7370 times)

0 Members and 1 Guest are viewing this topic.

newguy

  • Newbie
  • *
  • Posts: 4
    • View Profile
Mac window problems
« Reply #15 on: October 07, 2009, 02:05:48 pm »
Hello,

    Please do. I'm really curious as to why this happens. But as I've said, it only
occurs when aspect ratios differ.

    If this helps, I've tried running
http://developer.apple.com/mac/library/samplecode/NSOpenGL_Fullscreen/index.html
and this correctly goes into full-screen.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Mac window problems
« Reply #16 on: October 22, 2009, 08:13:54 pm »
I didn't have a look at the code of your sample but... it didn't change the screen resolution for me, so I don't really understand why it would be useful. Does it for you ?
Otherwise I've been a bit busy for the past days but I should be able to have a closer look at your problem from the next week-end and make this sample testing app.

Sorry for the answer time.
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Mac window problems
« Reply #17 on: October 25, 2009, 05:40:59 pm »
Here it is : ScreenSwitcher.zip (20 KB).

It'll try to find all the display ID through different ways. Then you can use the "Proceed" button and see which display is switched, thus you can find out a way to change the primary screen resolution. It'll switch for 3 seconds then come back to the original mode.

As for me I only got one ID (69670592) but it's normal as I only have one display. I hope it'll work fine for you (ie. find all the displays).
Want to play movies in your SFML application? Check out sfeMovie!

 

anything