mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-11 19:23:01 +00:00
added missing CAP_SOLV and CAP_TEXTURE guards
This commit is contained in:
@@ -168,6 +168,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
|
||||
else
|
||||
distfun = "length(t.xyz)";
|
||||
switch(cgclass) {
|
||||
#if CAP_SOLV
|
||||
case gcSolNIH:
|
||||
switch(geometry) {
|
||||
case gSol:
|
||||
@@ -184,6 +185,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
|
||||
}
|
||||
treset = true;
|
||||
break;
|
||||
#endif
|
||||
case gcNil:
|
||||
vsh += nilv::nilshader;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user