SDL dual head

kennyming
Unregistered
 
Post: #1
Hi to every one

I was trying to init a video surface linked to the second monitor.
But I can't . I didn't find any information avbout it.
could any helpme.
thanks a lot and sorry about my English ;P
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
Pretty sure it's not possible.
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #3
Sadly, it's true. There is no support for multiple viewports in SDL. I don't even think you can have multiple windows.

I've found this aggravating too because my main monitor is an LCD, not very game friendly.
Quote this message in a reply
Moderator
Posts: 698
Joined: 2002.04
Post: #4
Quote:I don't even think you can have multiple windows.
If I recall correctly this (multiple windows) has been achieved through a lot of hacking on GTK, but it isn't portable... Take a look far, far back in the SDL mailing-list archive if you're interested.

Mark Bishop
--
Student and freelance OS X & iOS developer
Quote this message in a reply
kennyming
Unregistered
 
Post: #5
thanks a lot.
???
umm
so any suggest , insteed of hacking on GTK.
what about artoolkit.
I need to play back a video to the second monitor
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #6
Just use whichever API is appropriate for whichever platform you're working on to create a window on that monitor... if you need cross-platform, that's much trickier.
Quote this message in a reply
Post Reply