- Timestamp:
- 08/27/10 18:55:42 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/Libs/MaterialSystem/RendererARBprogs/Shaders/_CommonHelpers.cpp
r36 r138 43 43 44 44 // Upload the string (code) for this program. 45 cf::glProgramStringARB(ProgramTarget, GL_PROGRAM_FORMAT_ASCII_ARB, strlen(ProgramCode), ProgramCode);45 cf::glProgramStringARB(ProgramTarget, GL_PROGRAM_FORMAT_ASCII_ARB, GLsizei(strlen(ProgramCode)), ProgramCode); 46 46 47 47 … … 55 55 #ifdef DEBUG 56 56 // Want to see warning messages in debug builts. 57 const int ErrorStringLen=strlen(ErrorString);57 const size_t ErrorStringLen=strlen(ErrorString); 58 58 #else 59 59 // ...and currently in release builts, too. 60 const int ErrorStringLen=strlen(ErrorString);60 const size_t ErrorStringLen=strlen(ErrorString); 61 61 // const int ErrorStringLen=0; 62 62 #endif
