Show
Ignore:
Timestamp:
08/27/10 18:55:42 (21 months ago)
Author:
Carsten
Message:

Code enhancements for the native 64-bit Windows (LLP64) port.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/Libs/MaterialSystem/Common/OpenGLEx.cpp

    r36 r138  
    5454{ 
    5555    // Dies ist im wesentlichen der Code aus dem "OpenGL Programming Guide", Seite 568. 
    56     int  LengthOfExtName=strlen(ExtensionName); 
    57     char* Extensions     =(char*)glGetString(GL_EXTENSIONS); 
     56    const size_t LengthOfExtName=strlen(ExtensionName); 
     57    char*        Extensions     =(char*)glGetString(GL_EXTENSIONS); 
    5858 
    5959    if (Extensions==NULL) return false; 
     
    6363    while (Extensions<End) 
    6464    { 
    65         const int n=strcspn(Extensions, " "); 
     65        const size_t n=strcspn(Extensions, " "); 
    6666 
    6767        if (LengthOfExtName==n && strncmp(ExtensionName, Extensions, n)==0) return true;