-
-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
After a lot of research, I found that SDL doesn't create the stencil buffer by default. It took me a while to find that I need to call Silk.NET.Windowing.Sdl.SdlWindowing.GetExistingApi(window).GLSetAttribute(Silk.NET.SDL.GLattr.GLStencilSize, 8)
before window.Run()
to make the stencil work.
I think it would save a lot of people time if Silk made that automatically when creating the window. It shouldn't be a problem since GLFW already creates the stencil buffer by default.
Comments
If you don't like the idea of creating it by default, it could also be when the user sets the PreferredStencilBufferBits
on the WindowOptions
object.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request