Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5333 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Oct 9, 2005, 12:11:23 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: we do not have to shade the whole world

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/shader.cc

    r5323 r5333  
    283283}
    284284
    285 
     285bool Shader::checkShaderAbility()
     286{
     287  if (GLEW_ARB_shader_objects &&
     288      GLEW_ARB_shading_language_100 &&
     289      GLEW_ARB_vertex_shader &&
     290      GLEW_ARB_fragment_shader)
     291    return true;
     292  else
     293    return false;
     294}
    286295
    287296void Shader::debug() const
Note: See TracChangeset for help on using the changeset viewer.