diff --git a/src/glcontext_wgl.cpp b/src/glcontext_wgl.cpp index 85494e810..34f68212c 100644 --- a/src/glcontext_wgl.cpp +++ b/src/glcontext_wgl.cpp @@ -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,