ソースを参照

Implement GetCurrentMonitor in rcore_desktop_sdl (#3431)

* Implemented GetCurrentMonitor

* remove traceloog in GetCurrentMonitor
pull/3433/head
Dor Shapira 2年前
committed by GitHub
コミット
af83764f4f
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加2行の削除
  1. +1
    -2
      src/rcore_desktop_sdl.c

+ 1
- 2
src/rcore_desktop_sdl.c ファイルの表示

@ -356,8 +356,7 @@ int GetMonitorCount(void)
// Get number of monitors
int GetCurrentMonitor(void)
{
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform");
return 0;
return SDL_GetWindowDisplayIndex(platform.window);
}
// Get selected monitor position

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