~ubuntu-branches/ubuntu/trusty/glew/trusty

« back to all changes in this revision

Viewing changes to auto/src/glew_str_head.c

  • Committer: Bazaar Package Importer
  • Author(s): Marcelo E. Magallon
  • Date: 2005-02-10 21:21:42 UTC
  • Revision ID: james.westby@ubuntu.com-20050210212142-2b1p2th5s3d0wjdz
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef GLEW_MX
 
2
GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name)
 
3
#else
 
4
GLboolean glewIsSupported (const char* name)
 
5
#endif
 
6
{
 
7
  GLubyte* pos = (GLubyte*)name;
 
8
  GLuint len = _glewStrLen(pos);
 
9
  GLboolean ret = GL_TRUE;
 
10
  while (ret && len > 0)
 
11
  {
 
12
    if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
 
13
    {