Saran Tunyasuvunakool
2f0fb1e4ef
Workaround for broken VSync in Simulate on macOS.
...
OpenGL VSync became broken again in macOS 13 (https://github.com/glfw/glfw/issues/2249 ). This workaround is similar to https://github.com/glfw/glfw/pull/2277 but is implemented entirely outside of GLFW.
PiperOrigin-RevId: 516320722
Change-Id: Ib8a651a942f592c74e00ad3c7b22f2dfd156be5f
2023-03-13 14:19:17 -07:00
Levi Burner
95a4b1c551
simulate python: fix cmake, glfw usage, update Python version of physics loop
2022-10-04 14:37:06 -04:00
Saran Tunyasuvunakool
9d9493153c
Fix GCC "declaration of ... changes meaning" errors.
...
PiperOrigin-RevId: 470175500
Change-Id: If13a81f308f803d3cc4731b3d4d0561cfe56d5c8
2022-08-26 00:13:57 -07:00
Saran Tunyasuvunakool
3240596c3a
Call GLFW functions via a dynamic dispatch table.
...
This allows us to use GLFW without needing to introduce a link-time dependency on the library, which in turn enables us to get GLFW through Python.
PiperOrigin-RevId: 470100999
Change-Id: I27c84ad3310afdbebd582ab0033b6a963ba6307e
2022-08-25 15:41:53 -07:00