소스 검색

fixed typos preventing launch of native win32 backend (#5515)

pull/5518/head
mikeemm 3 일 전
committed by GitHub
부모
커밋
63e4fd838d
No known key found for this signature in database GPG 키 ID: B5690EEEBB952194
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      src/platforms/rcore_desktop_win32.c

+ 3
- 3
src/platforms/rcore_desktop_win32.c 파일 보기

@ -1227,7 +1227,7 @@ void SwapScreenBuffer(void)
// Get elapsed time measure in seconds
double GetTime(void)
{
LARGE_INTEGER now = 0;
LARGE_INTEGER now = p">{ 0 };
QueryPerformanceCounter(&now);
return (double)(now.QuadPart - CORE.Time.base)/(double)platform.timerFrequency.QuadPart;
}
@ -1875,8 +1875,8 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpara
case WM_DPICHANGED:
{
// Get current dpi scale factor
float scalex = HIWORD(wParam)/96.0f;
float scaley = LOWORD(wParam)/96.0f;
float scalex = HIWORD(wparam)/96.0f;
float scaley = LOWORD(wparam)/96.0f;
RECT *suggestedRect = (RECT *)lparam;

불러오는 중...
취소
저장