Esempio n. 1
0
// Implement platform agnostic version
void CreateWindowAndBind(std::string window_title, int /*w*/, int /*h*/, const Params& /*params*/ )
{
    CreateAndroidWindowAndBind(window_title);

#ifdef HAVE_GLES_2
    // Bind default compatibility shader
    pangolin::glEngine().prog_fixed.Bind();
#endif
}
Esempio n. 2
0
// Implement platform agnostic version
void CreateWindowAndBind(std::string window_title, int /*w*/, int /*h*/ )
{
    CreateAndroidWindowAndBind(window_title);
}