Fix bad OpenGL bu

This commit is contained in:
AlexandreRouma 2022-01-22 18:13:46 +01:00
parent 6dc97de57b
commit 9d7c1369ca
5 changed files with 14 additions and 16 deletions

View File

@ -2,10 +2,7 @@
#include <imgui/imgui.h>
#include <string>
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <utils/opengl_include_code.h>
namespace icons {
extern ImTextureID LOGO;

View File

@ -5,10 +5,7 @@
#include <dsp/stream.h>
#include <mutex>
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <utils/opengl_include_code.h>
namespace ImGui {
class ImageDisplay {

View File

@ -5,10 +5,7 @@
#include <dsp/stream.h>
#include <mutex>
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <utils/opengl_include_code.h>
namespace ImGui {
class LinePushImage {

View File

@ -6,10 +6,7 @@
#include <imgui/imgui_internal.h>
#include <utils/event.h>
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
#include <utils/opengl_include_code.h>
#define WATERFALL_RESOLUTION 1000000

View File

@ -0,0 +1,10 @@
#pragma once
#if defined(_WIN32)
#include <windows.h>
#include <GL/gl.h>
#elif define(__APPLE__)
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif