Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

Blt between two primary surface.

Started by qwedcxza Dec 3, 2002 at 9:05 PM 4 replies 900+ views
Original Post
qwedcxza
qwedcxza
I have two display card. now I can create two primary surface for each display but can''t blt them from one to other. is that Blt can''t support primary surface to primary surface?
qwedcxza
qwedcxza
I tryed blt from device No.1 in system memory surface( that created by No.1 ), but I can''t blt that in device No.2, except directly memory copy.
JonnyQuest
JonnyQuest
The best way to do this is to simply store your sprites in standard arrays and just do your own blitting to DirectDraw.

- JQ
Full Speed Games. Are back.
~phil
qwedcxza
qwedcxza

That is not using for game, actually I want use DirectDraw copy content from primary display to secondary display.
JonnyQuest
JonnyQuest
Well, you''ll have to read out from video memory, do a memcopy to the other card then. Note that reads from video memory are extremely slow, and should be avoided if at all possible.

- JQ
Full Speed Games. Are back.
~phil

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.