mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-07 17:20:14 +01:00
* Fix gs_frame spawning on a screen other than the one the RPCS3 window is on for multi-monitor setups * Cleaned up code & refactored it into a utility function for reuse * Qt: take gs_frame's framemargins into account by using showEvent
19 lines
430 B
C++
19 lines
430 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
#include "gs_frame.h"
|
|
|
|
class gl_gs_frame : public gs_frame
|
|
{
|
|
private:
|
|
QSurfaceFormat m_format;
|
|
|
|
public:
|
|
gl_gs_frame(const QRect& geometry, QIcon appIcon, bool disableMouse);
|
|
|
|
draw_context_t make_context() override;
|
|
void set_current(draw_context_t context) override;
|
|
void delete_context(draw_context_t context) override;
|
|
void flip(draw_context_t context, bool skip_frame=false) override;
|
|
};
|