Skip to content

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

C

remove glext.h

Shinya Kitaoka6bcca292762c
diff --git a/toonz/sources/include/tgl.h b/toonz/sources/include/tgl.h
index 980008e4a..1a4f7e7c9 100644
--- a/toonz/sources/include/tgl.h
+++ b/toonz/sources/include/tgl.h
@@ -10,7 +10,6 @@
#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 3e65b8a0d..52d4e168a 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<PFNGLBLENDFUNCSEPARATEPROC>(::wglGetProcAddress("glBlendFuncSeparate"));
#endif