mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-21 11:14:59 -07:00
actually fix clang
This commit is contained in:
@@ -41,7 +41,7 @@ extern "C"
|
||||
long long _InterlockedExchangeAdd64(long long volatile*, long long);
|
||||
#pragma intrinsic(_InterlockedCompareExchange64)
|
||||
#pragma intrinsic(_InterlockedExchangeAdd64)
|
||||
int raddbg_markup_vsnprintf(char *, unsigned long long, const char *, __builtin_va_list);
|
||||
int raddbg_markup_vsnprintf(char *, unsigned long long, const char *, va_list);
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -2415,7 +2415,7 @@ ui_box_text_position(UI_Box *box)
|
||||
case UI_TextAlign_Center:
|
||||
{
|
||||
Vec2F32 text_dim = box->display_string_runs.dim;
|
||||
result.x = floor_f32((box->rect.p0.x + box->rect.p1.x)/2 - text_dim.x/2);
|
||||
result.x = round_f32((box->rect.p0.x + box->rect.p1.x)/2 - text_dim.x/2);
|
||||
result.x = ClampBot(result.x, box->rect.x0);
|
||||
}break;
|
||||
case UI_TextAlign_Right:
|
||||
|
||||
Reference in New Issue
Block a user