Thinking about this again - are you sure the client width and height are the actual height of the client area of the window, or of the window itself? In other words, are you supplying the size of the window when you create it via CreateWindow* or getting it from a call like GetClientRect?
Other than that - maybe you should try 16 bit surfaces, and see if your adapter is set to 16 or 32-bit color (try flipping to see what happens).
Jim
Jim Adams
home.att.net/~rpgbook
Author, Programming Role-Playing Games with DirectX
Help! Unexplained break in D3D8 debug mode
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement