Changeset 53724 in vbox for trunk/src/VBox/Devices/Graphics/shaderlib/shader.c
- Timestamp:
- Jan 4, 2015 12:58:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/shaderlib/shader.c
r53201 r53724 1249 1249 { 1250 1250 const char *end = comment + comment_size; 1251 const char * ptr = comment + 4;1252 const char *line = ptr;1251 const char *cur = comment + 4; 1252 const char *line = cur; 1253 1253 1254 1254 TRACE("// TEXT\n"); 1255 while ( ptr != end)1255 while (cur != end) 1256 1256 { 1257 if (* ptr == '\n')1257 if (*cur == '\n') 1258 1258 { 1259 UINT len = ptr - line;1260 if (len && *( ptr - 1) == '\r') --len;1259 UINT len = cur - line; 1260 if (len && *(cur - 1) == '\r') --len; 1261 1261 TRACE("// %s\n", debugstr_an(line, len)); 1262 line = ++ ptr;1262 line = ++cur; 1263 1263 } 1264 else ++ ptr;1264 else ++cur; 1265 1265 } 1266 if (line != ptr) TRACE("// %s\n", debugstr_an(line, ptr - line));1266 if (line != cur) TRACE("// %s\n", debugstr_an(line, cur - line)); 1267 1267 } 1268 1268 else TRACE("// %s\n", debugstr_an(comment, comment_size));
Note:
See TracChangeset
for help on using the changeset viewer.