Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Revert "Merge pull request #251 from skitaoka/fix/remove-glext-h"

Shinya Kitaokac7321c0d778a
diff --git a/toonz/sources/include/tgl.h b/toonz/sources/include/tgl.h
index 1a4f7e7c9..980008e4a 100644
--- a/toonz/sources/include/tgl.h
+++ b/toonz/sources/include/tgl.h
@@ -10,6 +10,7 @@
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
+#include <GL/glext.h>
#endif
#ifdef MACOSX
diff --git a/toonz/sources/tnzext/meshutils.cpp b/toonz/sources/tnzext/meshutils.cpp
index 52d4e168a..3e65b8a0d 100644
--- a/toonz/sources/tnzext/meshutils.cpp
+++ b/toonz/sources/tnzext/meshutils.cpp
@@ -320,7 +320,6 @@ void tglDraw(const TMeshImage &meshImage,
const PlasticDeformerDataGroup &group)
{
#ifdef _WIN32
- typedef void (*PFNGLBLENDFUNCSEPARATEPROC)(GLenum, GLenum, GLenum, GLenum);
static PFNGLBLENDFUNCSEPARATEPROC const glBlendFuncSeparate =
reinterpret_cast<PFNGLBLENDFUNCSEPARATEPROC>(::wglGetProcAddress("glBlendFuncSeparate"));
#endif