This commit is contained in:
rdb
2012-11-03 13:50:32 +00:00
parent 6a98f97c9b
commit 68863d5c14
+5 -1
View File
@@ -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
}
////////////////////////////////////////////////////////////////////