diff --git a/toonz/sources/include/tgl.h b/toonz/sources/include/tgl.h index 980008e4..1a4f7e7c 100644 --- a/toonz/sources/include/tgl.h +++ b/toonz/sources/include/tgl.h @@ -10,7 +10,6 @@ #include #include #include -#include #endif #ifdef MACOSX diff --git a/toonz/sources/tnzext/meshutils.cpp b/toonz/sources/tnzext/meshutils.cpp index 3e65b8a0..52d4e168 100644 --- a/toonz/sources/tnzext/meshutils.cpp +++ b/toonz/sources/tnzext/meshutils.cpp @@ -320,6 +320,7 @@ void tglDraw(const TMeshImage &meshImage, const PlasticDeformerDataGroup &group) { #ifdef _WIN32 + typedef void (*PFNGLBLENDFUNCSEPARATEPROC)(GLenum, GLenum, GLenum, GLenum); static PFNGLBLENDFUNCSEPARATEPROC const glBlendFuncSeparate = reinterpret_cast(::wglGetProcAddress("glBlendFuncSeparate")); #endif