diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-14 12:38:08 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-14 12:38:08 -0400 |
commit | 7cfb7ce652d1c13ab72392d95dc93d967bf505fb (patch) | |
tree | b68e0ddbcce7ee5c125c170920b815112c0c3d36 /gl_calls.cpp | |
parent | bc5375149c0ecb416848a2d3657ea41ae97177b3 (diff) |
concave masking; software anti aliasing
Diffstat (limited to 'gl_calls.cpp')
-rw-r--r-- | gl_calls.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gl_calls.cpp b/gl_calls.cpp index 4474b44..68c2882 100644 --- a/gl_calls.cpp +++ b/gl_calls.cpp @@ -152,6 +152,8 @@ static void TestGL_InitDefaultVerts() { 1, 2, 3 }; + glEnable(GL_MULTISAMPLE); + // Indices! glGenVertexArrays(1, &DefaultVerts.VertexArrayObject); @@ -194,7 +196,7 @@ TestGL_InitTexture(gl_effect_layer *Test, void *Data, uint16 Width, uint16 Heigh GLuint Stencil_Renderbuffer = 0; glGenRenderbuffers(1, &Stencil_Renderbuffer); glBindRenderbuffer( GL_RENDERBUFFER, (GLuint)Stencil_Renderbuffer ); - glRenderbufferStorage( GL_RENDERBUFFER, GL_STENCIL_INDEX8, Width, Height ); + glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, Width, Height ); glBindFramebuffer(GL_FRAMEBUFFER, Test->FramebufferObject); |