shared opengl context

This commit is contained in:
2025-09-21 03:05:32 +02:00
parent 4c61838665
commit 6714decf17
7 changed files with 111 additions and 115 deletions
+1 -2
View File
@@ -18,7 +18,6 @@ typedef struct Parameters {
char *frag_path;
char *frag_config_path;
unsigned int internal_size;
unsigned int monitor_factor;
float base_tempo;
bool demo;
bool windowed;
@@ -44,7 +43,7 @@ typedef struct ShaderProgram {
GLuint vertex_shader;
GLuint vertex_buffer;
GLuint vertex_array;
GLuint vertex_array[2];
unsigned int tex_count;
GLuint *textures;