Commit 066872e
committed
Cleanup: remove GLShader::MissesRequiredMacros
For checking if a macro can't be used without another macro, we can
just use HasConflictingMacros(). No need to have separate functions
to check flags that must be on and flags that must be off.
The one override of MissesRequiredMacros wasn't even using it for the
right thing (a global GL config setting instead of a macro).1 parent 11ec5c1 commit 066872e
2 files changed
Lines changed: 5 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
873 | | - | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
874 | 878 | | |
875 | 879 | | |
876 | 880 | | |
| |||
2044 | 2048 | | |
2045 | 2049 | | |
2046 | 2050 | | |
2047 | | - | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | 2051 | | |
2053 | 2052 | | |
2054 | 2053 | | |
| |||
2248 | 2247 | | |
2249 | 2248 | | |
2250 | 2249 | | |
2251 | | - | |
2252 | | - | |
2253 | | - | |
2254 | | - | |
2255 | 2250 | | |
2256 | 2251 | | |
2257 | 2252 | | |
| |||
2272 | 2267 | | |
2273 | 2268 | | |
2274 | 2269 | | |
2275 | | - | |
2276 | | - | |
2277 | | - | |
2278 | | - | |
2279 | 2270 | | |
2280 | 2271 | | |
2281 | 2272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | 955 | | |
961 | 956 | | |
962 | 957 | | |
| |||
1075 | 1070 | | |
1076 | 1071 | | |
1077 | 1072 | | |
1078 | | - | |
1079 | 1073 | | |
1080 | 1074 | | |
1081 | 1075 | | |
| |||
0 commit comments