mirror of
https://github.com/panda3d/panda3d.git
synced 2026-04-23 06:59:22 -05:00
fix GLSL
This commit is contained in:
@@ -43,7 +43,11 @@ valid() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE bool CLP(ShaderContext)::
|
||||
uses_custom_vertex_arrays() {
|
||||
return true;
|
||||
#ifdef OPENGLES_2
|
||||
return true;
|
||||
#else
|
||||
return (_shader->get_language() == Shader::SL_Cg);
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user