Skip to content

Commit

Permalink
Merge branch 'main' of github.com:imadhammani/Cassiopee
Browse files Browse the repository at this point in the history
  • Loading branch information
imadhammani committed Jul 29, 2024
2 parents cedddf3 + c6233b7 commit 7ac4703
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 54 deletions.
6 changes: 5 additions & 1 deletion Cassiopee/CPlot/CPlot/Data.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@

#ifdef __MESA__
#define GLAPI extern
//#define APIENTRY // added for ubuntu, to be checked on other linux
#ifdef _WIN32
#define APIENTRY __stdcall
#else
#define APIENTRY
#endif
#include <GL/osmesa.h>
#endif

Expand Down
6 changes: 5 additions & 1 deletion Cassiopee/CPlot/CPlot/GLEW/glew.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@

#if defined(GLEW_OSMESA)
# define GLAPI extern
//# define APIENTRY // added for ubuntu, to be checked on other linux
# ifdef _WIN32
# define APIENTRY __stdcall
# else
# define APIENTRY
# endif
# include <GL/osmesa.h>
#elif defined(GLEW_EGL)
# include <GL/eglew.h>
Expand Down
Loading

0 comments on commit 7ac4703

Please sign in to comment.