window: window_fps_vsync
parent
1ea72bc372
commit
58f36fddf1
|
@ -2147,6 +2147,7 @@ enum WINDOW_FLAGS {
|
|||
double window_fps_target();
|
||||
void window_fps_lock(float fps);
|
||||
void window_fps_unlock();
|
||||
void window_fps_vsync(int vsync);
|
||||
void window_screenshot(const char* outfile_png);
|
||||
int window_record(const char *outfile_mp4);
|
||||
vec2 window_dpi();
|
||||
|
|
|
@ -18838,6 +18838,7 @@ API double window_fps();
|
|||
API double window_fps_target();
|
||||
API void window_fps_lock(float fps);
|
||||
API void window_fps_unlock();
|
||||
API void window_fps_vsync(int vsync);
|
||||
|
||||
API void window_screenshot(const char* outfile_png); // , bool record_cursor
|
||||
API int window_record(const char *outfile_mp4); // , bool record_cursor
|
||||
|
@ -393190,6 +393191,10 @@ double window_fps_target() {
|
|||
return hz;
|
||||
}
|
||||
|
||||
void window_fps_vsync(int vsync) {
|
||||
glfwSwapInterval(vsync);
|
||||
}
|
||||
|
||||
uint64_t window_frame() {
|
||||
return frame_count;
|
||||
}
|
||||
|
|
|
@ -792,6 +792,10 @@ double window_fps_target() {
|
|||
return hz;
|
||||
}
|
||||
|
||||
void window_fps_vsync(int vsync) {
|
||||
glfwSwapInterval(vsync);
|
||||
}
|
||||
|
||||
uint64_t window_frame() {
|
||||
return frame_count;
|
||||
}
|
||||
|
|
|
@ -78,6 +78,7 @@ API double window_fps();
|
|||
API double window_fps_target();
|
||||
API void window_fps_lock(float fps);
|
||||
API void window_fps_unlock();
|
||||
API void window_fps_vsync(int vsync);
|
||||
|
||||
API void window_screenshot(const char* outfile_png); // , bool record_cursor
|
||||
API int window_record(const char *outfile_mp4); // , bool record_cursor
|
||||
|
|
|
@ -27713,6 +27713,10 @@ double window_fps_target() {
|
|||
return hz;
|
||||
}
|
||||
|
||||
void window_fps_vsync(int vsync) {
|
||||
glfwSwapInterval(vsync);
|
||||
}
|
||||
|
||||
uint64_t window_frame() {
|
||||
return frame_count;
|
||||
}
|
||||
|
|
|
@ -4905,6 +4905,7 @@ API double window_fps();
|
|||
API double window_fps_target();
|
||||
API void window_fps_lock(float fps);
|
||||
API void window_fps_unlock();
|
||||
API void window_fps_vsync(int vsync);
|
||||
|
||||
API void window_screenshot(const char* outfile_png); // , bool record_cursor
|
||||
API int window_record(const char *outfile_mp4); // , bool record_cursor
|
||||
|
|
Loading…
Reference in New Issue