mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 12:39:13 +12:00
Make emulator output size properly configurable
This commit is contained in:
parent
27a04a806e
commit
c10a3e7160
8 changed files with 30 additions and 7 deletions
|
@ -13,6 +13,10 @@ class ScreenWidget : public QWidget {
|
|||
ScreenWidget(QWidget* parent = nullptr);
|
||||
GL::Context* getGLContext() { return glContext.get(); }
|
||||
|
||||
// Dimensions of our output surface
|
||||
u32 surfaceWidth = 0;
|
||||
u32 surfaceHeight = 0;
|
||||
|
||||
private:
|
||||
std::unique_ptr<GL::Context> glContext = nullptr;
|
||||
bool createGLContext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue