quote:
Do you have the display properties set to 32-Bit?
That shouldn't matter unless you are using windowed mode (which he isn't)

Are you sure that that is only part of your code in which those variables are set? (i.e., video_depth isn't set to 16 earlier in the code)