mangoapp: whitespace fixes

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
pull/707/head
Emil Velikov 2 years ago committed by jackun
parent 5e53342f6c
commit 5400332d5a
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -223,7 +223,7 @@ bool render(GLFWwindow* window) {
}
int main(int, char**)
{
{
// Setup window
glfwSetErrorCallback(glfw_error_callback);
if (!glfwInit())
@ -306,8 +306,8 @@ int main(int, char**)
}
// Rendering
ImGui::Render();
glEnable(GL_DEPTH_TEST);
glEnable(GL_BLEND);
glEnable(GL_DEPTH_TEST);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);

@ -19,7 +19,7 @@ struct mangoapp_msg_header {
struct mangoapp_msg_v1 {
struct mangoapp_msg_header hdr;
uint32_t pid;
uint64_t visible_frametime_ns;
uint8_t fsrUpscale;
@ -38,16 +38,16 @@ struct mangoapp_ctrl_header {
struct mangoapp_ctrl_msgid1_v1 {
struct mangoapp_ctrl_header hdr;
// When a field is set to 0, it should always mean "ignore" or "no changes"
uint8_t no_display; // 0x0 = ignore; 0x1 = disable; 0x2 = enable; 0x3 = toggle
uint8_t log_session; // 0x0 = ignore; 0x1 = start a session; 0x2 = stop the current session; 0x3 = toggle logging
char log_session_name[64]; // if byte 0 is NULL, ignore. Needs to be set when starting/toggling a session if we want to override the default name
// WARNING: Always ADD fields, never remove or repurpose fields
} __attribute__((packed));
extern uint8_t g_fsrUpscale;
extern uint8_t g_fsrSharpness;
extern std::vector<float> gamescope_debug_latency;
extern std::vector<float> gamescope_debug_app;
extern std::vector<float> gamescope_debug_app;

Loading…
Cancel
Save