mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-11 18:57:11 +01:00
Fix bad OpenGL bu
This commit is contained in:
parent
6dc97de57b
commit
9d7c1369ca
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
||||
|
10
core/src/utils/opengl_include_code.h
Normal file
10
core/src/utils/opengl_include_code.h
Normal 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
|
Loading…
Reference in New Issue
Block a user