Added scaling and ready to start with sdl_image

This commit is contained in:
2025-01-02 08:28:46 -07:00
parent b40253c895
commit a335d10f9f
7 changed files with 76 additions and 43 deletions
+9 -1
View File
@@ -15,13 +15,21 @@
};
zls = zlsPkg.defaultPackage.${system};
in {
devShell = pkgs.mkShell {
devShell = pkgs.mkShell rec {
buildInputs = with pkgs; [
lldb
SDL2
SDL2_ttf
SDL2_image
## For SDL dynamic linking
libpulseaudio
xorg.libXext
##
zig
zls
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
C_INCLUDE_PATH = "${pkgs.SDL2}/include:${pkgs.SDL2_ttf}/include:${pkgs.SDL2_image}/include";
};
});
}