Skip to main content
gamedev.net
🔒 Locked

Flip()

Started by vbisme Nov 27, 2000 at 10:52 PM 1 replies 250+ views
Original Post
vbisme
vbisme
Do you "flip" surfaces in windowed mode or regular blitting?
Tooon
Tooon
You can not flip the primarysurface when running in windowed mode.
When flipping the primary and the backbuffer, you are just switching the address of which part of the videomemory that should be visible.
The primarysurface is always the whole screen, so you are just allowed(or supposed) to blit to the part of screen, belonging to your window.
So keep blitting, that is the way to do it when you are running in a window.

/ Tooon

Topic Locked

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

Sign in to reply to this topic.