Fix bad OpenGL bu

pull/609/head
AlexandreRouma 2022-01-22 18:13:46 +01:00
rodzic 6dc97de57b
commit 9d7c1369ca
5 zmienionych plików z 14 dodań i 16 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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 {

Wyświetl plik

@ -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 {

Wyświetl plik

@ -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

Wyświetl plik

@ -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