From f129ffbc8ec40a89026e508d729404dafa32c712 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Fri, 7 May 2021 18:46:42 +0200 Subject: [PATCH] Add a WGL extension needed for NanoVG --- dgl/src/NanoVG.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dgl/src/NanoVG.cpp b/dgl/src/NanoVG.cpp index 6850add1..cf2761db 100644 --- a/dgl/src/NanoVG.cpp +++ b/dgl/src/NanoVG.cpp @@ -53,6 +53,7 @@ DGL_EXT(PFNGLUNIFORM2FVPROC, glUniform2fv) DGL_EXT(PFNGLUNIFORM4FVPROC, glUniform4fv) DGL_EXT(PFNGLUSEPROGRAMPROC, glUseProgram) DGL_EXT(PFNGLVERTEXATTRIBPOINTERPROC, glVertexAttribPointer) +DGL_EXT(PFNGLBLENDFUNCSEPARATEPROC, glBlendFuncSeparate) # undef DGL_EXT #endif @@ -119,6 +120,7 @@ DGL_EXT(PFNGLUNIFORM2FVPROC, glUniform2fv) DGL_EXT(PFNGLUNIFORM4FVPROC, glUniform4fv) DGL_EXT(PFNGLUSEPROGRAMPROC, glUseProgram) DGL_EXT(PFNGLVERTEXATTRIBPOINTERPROC, glVertexAttribPointer) +DGL_EXT(PFNGLBLENDFUNCSEPARATEPROC, glBlendFuncSeparate) # undef DGL_EXT needsInit = false; #endif