mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-20 06:39:59 +01:00
Implementation of custom session resolution
Moved presets of resolution to RenderView (framebuffer class is lower level). Changed logic of UI selection of session resolution change.
This commit is contained in:
@@ -159,6 +159,7 @@ struct RenderConfig
|
||||
int multisampling;
|
||||
int ratio;
|
||||
int res;
|
||||
int custom_width, custom_height;
|
||||
float fading;
|
||||
bool gpu_decoding;
|
||||
|
||||
@@ -169,6 +170,8 @@ struct RenderConfig
|
||||
multisampling = 2;
|
||||
ratio = 3;
|
||||
res = 1;
|
||||
custom_width = 1200;
|
||||
custom_height = 600;
|
||||
fading = 0.0;
|
||||
gpu_decoding = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user