qt: Disable OpenGL 3.0 renderer for macOS.

Until it's figured out, macOS has dummy implementation to keep it
building.
This commit is contained in:
ts-korhonen
2022-02-27 21:57:14 +02:00
parent 4ec8e80042
commit d3b00ff27b
4 changed files with 63 additions and 8 deletions

View File

@@ -22,15 +22,21 @@
#include "ui_qt_rendererstack.h"
#include "qt_hardwarerenderer.hpp"
#include "qt_openglrenderer.hpp"
#include "qt_softwarerenderer.hpp"
#ifndef Q_OS_MACOS
# include "qt_openglrenderer.hpp"
#else
# include "qt_opengldummy.hpp"
#endif
#include "qt_mainwindow.hpp"
#include "qt_util.hpp"
#include "evdev_mouse.hpp"
#include <QScreen>
#include <QTimer>
#ifdef __APPLE__
# include <CoreGraphics/CoreGraphics.h>