Remove universal include of wx.h in 3d viewer OpenGL file
This commit is contained in:
parent
d79dd39be3
commit
d56251fdac
|
@ -35,6 +35,7 @@
|
||||||
#include "../common_ogl/ogl_utils.h"
|
#include "../common_ogl/ogl_utils.h"
|
||||||
#include "../3d_math.h"
|
#include "../3d_math.h"
|
||||||
#include <wx/debug.h>
|
#include <wx/debug.h>
|
||||||
|
#include <wx/log.h>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
#include "../3d_render_raytracing/shapes3D/bbox_3d.h"
|
#include "../3d_render_raytracing/shapes3D/bbox_3d.h"
|
||||||
#include "../../3d_enums.h"
|
#include "../../3d_enums.h"
|
||||||
|
|
||||||
|
#include <wx/chartype.h>
|
||||||
|
|
||||||
class MODEL_3D
|
class MODEL_3D
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -30,8 +30,6 @@
|
||||||
#ifndef OPENGL_INCLUDES_H
|
#ifndef OPENGL_INCLUDES_H
|
||||||
#define OPENGL_INCLUDES_H
|
#define OPENGL_INCLUDES_H
|
||||||
|
|
||||||
#include <wx/wx.h>
|
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
// Apple, in their infinite wisdom, has decided to mark OpenGL as deprecated.
|
// Apple, in their infinite wisdom, has decided to mark OpenGL as deprecated.
|
||||||
// Luckily we can silence warnings about its deprecation.
|
// Luckily we can silence warnings about its deprecation.
|
||||||
|
|
Loading…
Reference in New Issue