I'm attempting to add stencil buffer functionality to Gosu, and I noticed something rather odd. For X windows (ie Linux), Gosu specifies a value for the depth buffer. Same for OSX. However, on Windows, no value is specified. Why is this?
Also, the depth buffer seems to be 16 bits on OSX and 1 bit on Linux. Am I totally misunderstanding what's going on here, or is there some sort of arcane logic which I'm missing? Both the OSX and X Window specification seem to generate a window with the smallest buffer of at least the size requested, so why is there such a disparity in the numbers?
Loading...