added z-stencil buffers to GL and made a GS_MAX_TEXTURES macro