Browse Source

ShaderGenerator: always use generic attr on Linux

48808fe269eac07b725dead80e2b18c838b53abb disabled this on Linux, but I believe this was an accidental change.
rdb 7 years ago
parent
commit
0cb763a10a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraphnodes/shaderGenerator.cxx

+ 1 - 1
panda/src/pgraphnodes/shaderGenerator.cxx

@@ -77,7 +77,7 @@ ShaderGenerator(const GraphicsStateGuardianBase *gsg) {
 #ifdef _WIN32
 #ifdef _WIN32
   _use_generic_attr = !gsg->get_supports_hlsl();
   _use_generic_attr = !gsg->get_supports_hlsl();
 #else
 #else
-  _use_generic_attr = false;
+  _use_generic_attr = true;
 #endif
 #endif
 
 
   // Do we want to use the ARB_shadow extension?  This also allows us to use
   // Do we want to use the ARB_shadow extension?  This also allows us to use