Changed WGL_STENCIL_BITS_ARB to match what gets used in createContext (#2791)

On Mesa, the pixel format would match the 0 stencil bits as requested. This change helps bring the pixel format to match what `createContext` would use.
This commit is contained in:
slewicki 2022-05-06 12:21:05 -04:00 committed by GitHub
parent 560669f6c0
commit bd8ed86009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ namespace bgfx { namespace gl
WGL_ALPHA_BITS_ARB, 8,
WGL_COLOR_BITS_ARB, 32,
WGL_DEPTH_BITS_ARB, 24,
WGL_STENCIL_BITS_ARB, 0,
WGL_STENCIL_BITS_ARB, 8,
WGL_PIXEL_TYPE_ARB, WGL_TYPE_RGBA_ARB,
WGL_SAMPLES_ARB, 0,