mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-06-26 02:29:36 +00:00
silence GL deprecation
This commit is contained in:
parent
6f9ed33f2f
commit
dcb27ce242
|
@ -1,6 +1,8 @@
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
#define GL_SILENCE_DEPRECATION
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
#endif // defined(__linux__)
|
#endif // defined(__linux__)
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#if !defined(__GLWIDGET_H__)
|
#if !defined(__GLWIDGET_H__)
|
||||||
#define __GLWIDGET_H__
|
#define __GLWIDGET_H__
|
||||||
|
|
||||||
|
#define GL_SILENCE_DEPRECATION
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
#endif // defined(__linux__)
|
#endif // defined(__linux__)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user