mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-12 03:07: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 <imgui/imgui.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <utils/opengl_include_code.h>
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
#include <GL/gl.h>
|
|
||||||
|
|
||||||
namespace icons {
|
namespace icons {
|
||||||
extern ImTextureID LOGO;
|
extern ImTextureID LOGO;
|
||||||
|
@ -5,10 +5,7 @@
|
|||||||
#include <dsp/stream.h>
|
#include <dsp/stream.h>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <utils/opengl_include_code.h>
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
#include <GL/gl.h>
|
|
||||||
|
|
||||||
namespace ImGui {
|
namespace ImGui {
|
||||||
class ImageDisplay {
|
class ImageDisplay {
|
||||||
|
@ -5,10 +5,7 @@
|
|||||||
#include <dsp/stream.h>
|
#include <dsp/stream.h>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <utils/opengl_include_code.h>
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
#include <GL/gl.h>
|
|
||||||
|
|
||||||
namespace ImGui {
|
namespace ImGui {
|
||||||
class LinePushImage {
|
class LinePushImage {
|
||||||
|
@ -6,10 +6,7 @@
|
|||||||
#include <imgui/imgui_internal.h>
|
#include <imgui/imgui_internal.h>
|
||||||
#include <utils/event.h>
|
#include <utils/event.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <utils/opengl_include_code.h>
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
#include <GL/gl.h>
|
|
||||||
|
|
||||||
#define WATERFALL_RESOLUTION 1000000
|
#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