Show
Ignore:
Timestamp:
08/25/07 22:49:09 (15 months ago)
Author:
krobillard
Message:

UTF-8 strings can now be read.
ur_makeString() now takes UCell argument.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/gl/gx.c

    r442 r453  
    13451345{ 
    13461346    const GLubyte* str; 
    1347     UIndex binN; 
    13481347 
    13491348    UR_CALL_UNUSED_TH 
     1349    UR_CALL_UNUSED_TOS 
    13501350 
    13511351    str = glGetString( GL_EXTENSIONS ); 
    1352     binN = ur_makeString( (const char*) str, -1 ); 
    1353  
    1354  
     1352    ur_makeString( ur_s_next(UR_TOS), (const char*) str, -1 ); 
    13551353    UR_S_GROW; 
    1356     tos = UR_TOS; 
    1357     ur_initType(tos, UT_STRING); 
    1358     ur_setSeries(tos, binN, 0 ); 
    13591354} 
    13601355