Explorar el Código

reset resizedLastFrame on web platform (#2020)

pull/2021/head
mausimus hace 3 años
cometido por GitHub
padre
commit
93efa565f9
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. +4
    -2
      src/rcore.c

+ 4
- 2
src/rcore.c Ver fichero

@ -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)

Cargando…
Cancelar
Guardar