[fix] fix stream window scale error

This commit is contained in:
dijunkun
2024-11-27 20:28:42 +08:00
parent 9621e6b570
commit 9b2f81690f

View File

@@ -634,8 +634,8 @@ int Render::SetupStreamWindow() {
SetupFontAndStyle();
SDL_GL_GetDrawableSize(stream_window_, &main_window_width_real_,
&main_window_height_real_);
SDL_GL_GetDrawableSize(stream_window_, &stream_window_width_real_,
&stream_window_height_real_);
stream_window_dpi_scaling_w_ =
stream_window_width_real_ / stream_window_width_;