Ver a proveniência

reset resizedLastFrame on web platform (#2020)

pull/2021/head
mausimus há 3 anos
committed by GitHub
ascendente
cometimento
93efa565f9
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com 4 adições e 2 eliminações
  1. +4
    -2
      src/rcore.c

+ 4
- 2
src/rcore.c Ver ficheiro

@ -4717,8 +4717,6 @@ void PollInputEvents(void)
}
}
CORE.Window.resizedLastFrame = false;
#if defined(SUPPORT_EVENTS_WAITING)
glfwWaitEvents();
#else
@ -4726,6 +4724,10 @@ void PollInputEvents(void)
#endif
#endif // PLATFORM_DESKTOP
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
CORE.Window.resizedLastFrame = false;
#endif
// Gamepad support using emscripten API
// NOTE: GLFW3 joystick functionality not available in web
#if defined(PLATFORM_WEB)

Carregando…
Cancelar
Guardar