]> git.sesse.net Git - movit/commit
Compile shaders into the library.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 Feb 2023 22:35:50 +0000 (23:35 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 Feb 2023 22:38:30 +0000 (23:38 +0100)
commit9a436a9406d5eb7fb01ada465a84034343e0c398
treeb67ba20b505ae7aaac2673c3c59b9397258e3005
parent0b1705581552217b0e387bd687d65e4e3410ab91
Compile shaders into the library.

This was long overdue; I was reluctant for a while since it's easier
to develop or debug shaders this way, but the solution is of course
to give priority to the filesystem.

It is now allowed to give "" as the data directory, which will only
ever look in the bundle. Most users should probably just do that.

Shaders are no longer installed by make install.

There is no API or ABI break, but of course, you cannot give ""
as directory to older versions (it would mean essentially /).
.gitignore
Makefile.in
bundled_shaders.h [new file with mode: 0644]
init.h
make_bundled_shaders.cpp [new file with mode: 0644]
util.cpp
version.h