apply dd_line_width to text2d calls
parent
b771d31a18
commit
65a50eb341
|
@ -386306,6 +386306,7 @@ void ddraw_flush_projview(mat44 proj, mat44 view) {
|
|||
if(!count) continue;
|
||||
unsigned rgbi = 0;
|
||||
convert_key_to_color_width(meta, &rgbi, &dd_line_width);
|
||||
dd_rs.line_width = (i == 1 ? dd_line_width : 0.3);
|
||||
renderstate_apply(&dd_rs);
|
||||
// color
|
||||
vec3 rgbf = {((rgbi>>0)&255)/255.f,((rgbi>>8)&255)/255.f,((rgbi>>16)&255)/255.f};
|
||||
|
|
|
@ -145,6 +145,7 @@ void ddraw_flush_projview(mat44 proj, mat44 view) {
|
|||
if(!count) continue;
|
||||
unsigned rgbi = 0;
|
||||
convert_key_to_color_width(meta, &rgbi, &dd_line_width);
|
||||
dd_rs.line_width = (i == 1 ? dd_line_width : 0.3);
|
||||
renderstate_apply(&dd_rs);
|
||||
// color
|
||||
vec3 rgbf = {((rgbi>>0)&255)/255.f,((rgbi>>8)&255)/255.f,((rgbi>>16)&255)/255.f};
|
||||
|
|
|
@ -21486,6 +21486,7 @@ void ddraw_flush_projview(mat44 proj, mat44 view) {
|
|||
if(!count) continue;
|
||||
unsigned rgbi = 0;
|
||||
convert_key_to_color_width(meta, &rgbi, &dd_line_width);
|
||||
dd_rs.line_width = (i == 1 ? dd_line_width : 0.3);
|
||||
renderstate_apply(&dd_rs);
|
||||
// color
|
||||
vec3 rgbf = {((rgbi>>0)&255)/255.f,((rgbi>>8)&255)/255.f,((rgbi>>16)&255)/255.f};
|
||||
|
|
Loading…
Reference in New Issue