From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/opengl/opengl.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/detection/opengl/opengl.h (limited to 'src/detection/opengl/opengl.h') diff --git a/src/detection/opengl/opengl.h b/src/detection/opengl/opengl.h new file mode 100644 index 0000000..f7ff9d5 --- /dev/null +++ b/src/detection/opengl/opengl.h @@ -0,0 +1,17 @@ +#pragma once + +#include "fastfetch.h" +#include "modules/opengl/option.h" + +typedef struct FFOpenGLResult { + FFstrbuf version; + FFstrbuf renderer; + FFstrbuf vendor; + FFstrbuf slv; + FFstrbuf library; +} FFOpenGLResult; + +#define FF_OPENGL_BUFFER_WIDTH 1 +#define FF_OPENGL_BUFFER_HEIGHT 1 + +const char* ffDetectOpenGL(FFOpenGLOptions* options, FFOpenGLResult* result); -- cgit v1.2.3