mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
21 lines
364 B
C
21 lines
364 B
C
|
|
#pragma once
|
||
|
|
#include "wx/glcanvas.h"
|
||
|
|
#include "Gui/GSFrame.h"
|
||
|
|
|
||
|
|
struct GLGSFrame : public GSFrame
|
||
|
|
{
|
||
|
|
wxGLCanvas* canvas;
|
||
|
|
u32 m_frames;
|
||
|
|
|
||
|
|
GLGSFrame();
|
||
|
|
~GLGSFrame() {}
|
||
|
|
|
||
|
|
void Flip(wxGLContext *context);
|
||
|
|
|
||
|
|
wxGLCanvas* GetCanvas() const { return canvas; }
|
||
|
|
|
||
|
|
virtual void SetViewport(int x, int y, u32 w, u32 h);
|
||
|
|
|
||
|
|
private:
|
||
|
|
virtual void OnSize(wxSizeEvent& event);
|
||
|
|
};
|