mirror of
https://github.com/overte-org/overte.git
synced 2025-06-16 06:00:25 +02:00
16 lines
335 B
C++
16 lines
335 B
C++
#include "TestCase.h"
|
|
|
|
#include <qml/OffscreenSurface.h>
|
|
|
|
class MacQml : public TestCase {
|
|
using Parent = TestCase;
|
|
public:
|
|
GLuint _texture{ 0 };
|
|
QmlPtr _surface;
|
|
GLuint _fbo{ 0 };
|
|
|
|
MacQml(const QWindow* window) : Parent(window) {}
|
|
void update() override;
|
|
void init() override;
|
|
void draw() override;
|
|
};
|