Skip to content

Commit 5abcf0f

Browse files
committed
Update ui_base.cpp
1 parent 1361a2d commit 5abcf0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ogsr_engine/xrGame/ui_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void ui_core::RenderFont()
266266

267267
bool ui_core::is_16_9_mode()
268268
{
269-
return (Device.dwWidth)/float(Device.dwHeight) > (UI_BASE_WIDTH/UI_BASE_HEIGHT +0.01f);
269+
return float(Device.dwWidth) / float(Device.dwHeight) > (UI_BASE_WIDTH / UI_BASE_HEIGHT + 0.01f);
270270
}
271271

272272
shared_str ui_core::get_xml_name(LPCSTR fn)

0 commit comments

Comments
 (0)