mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 16:25:27 +08:00
qt 6.6.0 clean
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#include <QPlatformSurfaceEvent>
|
||||
#include <QTimer>
|
||||
#include <QFile>
|
||||
#include <QtGui/private/qshader_p.h>
|
||||
#include <rhi/qshader.h>
|
||||
#include "../shared/cube.h"
|
||||
|
||||
Window::Window()
|
||||
@ -55,7 +55,7 @@ bool Window::event(QEvent *e)
|
||||
|
||||
void Window::init()
|
||||
{
|
||||
QRhi::Flags rhiFlags = QRhi::EnableDebugMarkers | QRhi::EnableProfiling;
|
||||
QRhi::Flags rhiFlags = QRhi::EnableDebugMarkers;
|
||||
|
||||
m_fallbackSurface.reset(QRhiGles2InitParams::newFallbackSurface());
|
||||
QRhiGles2InitParams params;
|
||||
|
@ -5,8 +5,8 @@
|
||||
#define WINDOW_H
|
||||
|
||||
#include <QWindow>
|
||||
#include <QtGui/private/qrhigles2_p.h>
|
||||
#include <QOffscreenSurface>
|
||||
#include <rhi/qrhi.h>
|
||||
|
||||
class Window : public QWindow
|
||||
{
|
||||
|
Reference in New Issue
Block a user