Advertisement
Guest User

harmony phase 2 linux

a guest
Jan 4th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.94 KB | None | 0 0
  1. Index: source/blender/blenkernel/intern/shader.c
  2. ===================================================================
  3. --- source/blender/blenkernel/intern/shader.c   (revisión: 53568)
  4. +++ source/blender/blenkernel/intern/shader.c   (copia de trabajo)
  5. @@ -129,7 +129,8 @@
  6.     /* Find a new name for the first main */
  7.     search = BLI_dynstr_get_cstring(new_source);
  8.     do {
  9. -       itoa(i++, count, 10);
  10. +       sprintf(count, "%d", i++);
  11. +       //itoa(i++, count, 10);
  12.         strcpy(fname1, "main");
  13.         strcat(fname1, count);
  14.     }while (search = strstr(dst->source, fname1));
  15. @@ -141,7 +142,8 @@
  16.  
  17.     /* Find a name for the second main */
  18.     do {
  19. -       itoa(i++, count, 10);
  20. +       sprintf(count, "%d", i++);
  21. +       //itoa(i++, count, 10);
  22.         strcpy(fname2, "main");
  23.         strcat(fname2, count);
  24.     }while (search = strstr(dst->source, fname2));
  25. @@ -399,4 +401,4 @@
  26.  
  27.     sh->uniforms.first = sh->uniforms.last = NULL;
  28.     gather_uniforms(sh);
  29. -}
  30. \ No newline at end of file
  31. +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement