silence GL deprecation
This commit is contained in:
parent
6f9ed33f2f
commit
dcb27ce242
|
@ -1,6 +1,8 @@
|
|||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <GL/glew.h>
|
||||
#endif // defined(__linux__)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#if !defined(__GLWIDGET_H__)
|
||||
#define __GLWIDGET_H__
|
||||
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <GL/glew.h>
|
||||
#endif // defined(__linux__)
|
||||
|
|
Loading…
Reference in New Issue