project_files/hwc/rtl/misc.c
changeset 15361 5c0479d0ed5b
parent 15295 f382ec6dba11
equal deleted inserted replaced
15354:dff37ac61dcf 15361:5c0479d0ed5b
   217 
   217 
   218     s->s[s->len + 1] = 0;
   218     s->s[s->len + 1] = 0;
   219     return &s->s[1];
   219     return &s->s[1];
   220 }
   220 }
   221 
   221 
   222 #ifdef EMSCRIPTEN
       
   223 GLenum glewInit()
       
   224 {
       
   225     return GLEW_OK;
       
   226 }
       
   227 #endif
       
   228 
       
   229 void fpcrtl_glShaderSource(GLuint shader, GLsizei count,/* const dropped for pas2c compat */ GLchar **string, const GLint *length) {
   222 void fpcrtl_glShaderSource(GLuint shader, GLsizei count,/* const dropped for pas2c compat */ GLchar **string, const GLint *length) {
   230     glShaderSource(shader, count, (const char * const *)string, length);
   223     glShaderSource(shader, count, (const char * const *)string, length);
   231 }
   224 }