ソースを参照

Work around to fix mouse positioning on scaled window

pull/5115/head
Maicon Santana 5ヶ月前
コミット
73950befca
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      src/platforms/rcore_web.c

+ 2
- 0
src/platforms/rcore_web.c ファイルの表示

@ -1824,6 +1824,8 @@ static EM_BOOL EmscriptenResizeCallback(int eventType, const EmscriptenUiEvent *
CORE.Window.screen.width = width;
CORE.Window.screen.height = height;
glfwSetWindowSize(platform.handle, CORE.Window.screen.width, CORE.Window.screen.height);
// NOTE: Postprocessing texture is not scaled to new size
return 0;

読み込み中…
キャンセル
保存