Enable resize of session frame buffer resolution

This commit is contained in:
brunoherbelin
2021-01-01 11:54:40 +01:00
parent b346403887
commit 25b58b76f3
3 changed files with 51 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ public:
static const char* resolution_name[4];
static float resolution_height[4];
static glm::vec3 getResolutionFromParameters(int ar, int h);
static glm::ivec2 getParametersFromResolution(glm::vec3 res);
// unbind any framebuffer object
static void release();