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

Fix glext.h
This commit is contained in:
Shinya Kitaoka 2016-04-26 22:52:47 +09:00
commit 86c457716a
2 changed files with 1 additions and 1 deletions

View file

@ -10,7 +10,6 @@
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <GL/glext.h>
#endif
#ifdef MACOSX

View file

@ -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