Any1 know?
Printable View
Any1 know?
Uhh... what do you mean 'a device's backbuffer'? In the absence of any good understanding of what you're asking, I'll try to explain something about backbuffers.
Surfaces, device contexts, and whatever else you are dealing with to store layers of graphics, don't generally have backbuffers built-in. You have to create a backbuffer yourself. If you're using a picturebox as your primary display, then you can use an invisible picturebox as your back buffer, or you can create an offscreen DC and use that. If you're using DDraw, you create a secondary surface and (usually) add it to your primary surface's flipping chain.
So... this is where I don't understand your question...devices don't 'have' back buffers exactly... unless I've misunderstood your question completely.
Let me rephrase my question, How do I present a surface to the screen? Lets say I have a surface called Temp, and I want to show the surface on the screen, how do i do that?
What kind of a surface? Do you mean a DirectDraw surface? Please be more specific about your question.
Direct3DSurface8