Commit Graph

13 Commits

Author SHA1 Message Date
Brandon Wright
fc31f47fc2 Shaders: Scan source code in as few passes as possible.
Improves loading time of crt-royale significantly.
2019-01-30 10:25:19 -06:00
Brandon Wright
5fc0271330 Shaders: Show errors on file load with name in "". 2019-01-27 19:12:42 -06:00
Brandon Wright
65b38ed36b Revert "Shaders: Trim whitespace and comments on preset strings."
This reverts commit 4c3d886dab.
2019-01-25 20:09:06 -06:00
Brandon Wright
02be8ba1f2 Shaders: Add support for grayscale PNGs
GTK+: Fix invalid texture clear.
2019-01-25 20:01:52 -06:00
Brandon Wright
4c3d886dab Shaders: Trim whitespace and comments on preset strings.
Report some file open failures.
2019-01-25 18:51:50 -06:00
Brandon Wright
0e559cd046 Don't use move on return value. 2019-01-18 15:14:32 -06:00
Brandon Wright
2b5d9af6ca More prep of shader files. 2019-01-13 15:52:32 -06:00
Brandon Wright
4207ddc9d2 Simplify shader string handling a bit. 2019-01-08 19:44:43 -06:00
Brandon Wright
405aee6d1e Clean up shader files a bit. 2019-01-08 17:18:17 -06:00
Brandon Wright
51909e0cb4 Fix PNG usage without preprocessor check. 2019-01-04 10:52:11 -06:00
Brandon Wright
f0ddb097f9 Mark all of GTK+ with header stub, and a couple others. 2018-11-15 17:42:29 -06:00
Brandon Wright
171a20cb6d Use some more compatible OpenGL version checking. 2018-05-28 18:40:29 -05:00
Brandon Wright
79adc1d3c8 Move shader files to root directory. 2018-05-13 18:22:54 -05:00