feat: swap canvas for opengl context

This commit is contained in:
2026-03-05 18:39:38 +05:30
parent f001b90745
commit 8e09748d3e
7 changed files with 155 additions and 31 deletions

View File

@@ -3,10 +3,11 @@
#include "../core/raster.h"
#include "../util/color.h"
#include "gtk/gtk.h"
#include "uicontroller.h"
typedef struct VektorCanvas {
GtkPicture* canvasWidget;
GtkGLArea* canvasWidget;
// texture related stuff
guchar* canvasPixels;