ddraw text2d use dd_color

main
Dominik Madarász 2024-08-16 14:08:47 +02:00
parent bc81a034af
commit b771d31a18
3 changed files with 3 additions and 3 deletions

View File

@ -386437,7 +386437,7 @@ void ddraw_text2d(vec2 pos, const char *text) {
t.sca = 0.5f; // 0.5 is like vertical 12units each t.sca = 0.5f; // 0.5 is like vertical 12units each
t.pos = vec3(pos.x, 0 - pos.y - 12, 0); t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
t.str = text; t.str = text;
t.col = YELLOW; t.col = dd_color;
array_push(dd_text2d, t); array_push(dd_text2d, t);
} }

View File

@ -276,7 +276,7 @@ void ddraw_text2d(vec2 pos, const char *text) {
t.sca = 0.5f; // 0.5 is like vertical 12units each t.sca = 0.5f; // 0.5 is like vertical 12units each
t.pos = vec3(pos.x, 0 - pos.y - 12, 0); t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
t.str = text; t.str = text;
t.col = YELLOW; t.col = dd_color;
array_push(dd_text2d, t); array_push(dd_text2d, t);
} }

View File

@ -21617,7 +21617,7 @@ void ddraw_text2d(vec2 pos, const char *text) {
t.sca = 0.5f; // 0.5 is like vertical 12units each t.sca = 0.5f; // 0.5 is like vertical 12units each
t.pos = vec3(pos.x, 0 - pos.y - 12, 0); t.pos = vec3(pos.x, 0 - pos.y - 12, 0);
t.str = text; t.str = text;
t.col = YELLOW; t.col = dd_color;
array_push(dd_text2d, t); array_push(dd_text2d, t);
} }