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,29 +3,33 @@
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
in {
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
clang-tools
lldb
outputs =
{
self,
nixpkgs,
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
clang-tools
lldb
meson
ninja
pkg-config
meson
ninja
pkg-config
gtk4
gtk4
libepoxy
gdb
];
gdb
];
shellHook = "";
shellHook = "";
};
};
};
}