Skip to content

Commit

Permalink
Fix MSVC Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DrChat committed Jan 18, 2018
1 parent cd66143 commit 71b715c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ofxsOGLFontUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
#endif

#include <GL/gl.h>
#endif

Expand Down
1 change: 0 additions & 1 deletion ofxsTransform3x3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ Transform3x3Plugin::setupAndProcess(Transform3x3ProcessorBase &processor,
// - If two consecutive points have a chage of Z-sign, find a point close to the point with the negative z with a Z equal to 0.
// This gives a direction which must be fully included in the rod, and thus a full quadrant must be included, ie an infinite
// value for one of the x bounds and an infinite value for one of the y bounds.
#warning TODO
static void
ofxsTransformRegionFromPoints(const Point3D p[4],
OfxRectD &rod)
Expand Down
6 changes: 6 additions & 0 deletions ofxsTransformInteract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
#endif

#include <GL/gl.h>
#endif

Expand Down

0 comments on commit 71b715c

Please sign in to comment.