瀏覽代碼

Implement GetCurrentMonitor in rcore_desktop_sdl (#3431)

* Implemented GetCurrentMonitor

* remove traceloog in GetCurrentMonitor
pull/3433/head
Dor Shapira 1 年之前
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 // Get number of monitors
int GetCurrentMonitor(void) int GetCurrentMonitor(void)
{ {
TRACELOG(LOG_WARNING, "GetCurrentMonitor() not implemented on target platform"); return SDL_GetWindowDisplayIndex(platform.window);
return 0;
} }
// Get selected monitor position // Get selected monitor position

||||||
x
 
000:0
Loading…
取消
儲存