lots of random little fixes
This commit is contained in:
@@ -140,9 +140,12 @@ void nni_gpu_set(nni_gpu *gpu, void *_, nn_component *component, nn_computer *co
|
||||
return;
|
||||
}
|
||||
|
||||
printf("It is to print: %s\n", s);
|
||||
|
||||
int current = 0;
|
||||
while(s[current] != 0) {
|
||||
int codepoint = nn_unicode_codepointAt(s, current);
|
||||
printf("char rendered: %i\n", codepoint);
|
||||
nn_setPixel(gpu->currentScreen, x, y, nni_gpu_makePixel(gpu, s + current));
|
||||
if(isVertical) {
|
||||
y++;
|
||||
|
||||
Reference in New Issue
Block a user