mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 08:11:11 -06:00
OpenGL support through GLEW. Only active if compiled with SLIC3R_GUI=1.
This commit is contained in:
parent
266e1c4be1
commit
2a5095a1ea
8 changed files with 58 additions and 12 deletions
|
@ -67,6 +67,9 @@
|
|||
# ifndef WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN 1
|
||||
# endif
|
||||
# ifdef NOGDI
|
||||
# undef NOGDI
|
||||
# endif
|
||||
#include <windows.h>
|
||||
# undef WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
** THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef SLIC3R_GUI
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
@ -18605,3 +18607,5 @@ GLboolean glxewIsSupported (const char* name)
|
|||
}
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#endif /* SLIC3R_GUI */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue