|
|
|
@ -1607,7 +1607,7 @@ int GetFPS(void) |
|
|
|
{ |
|
|
|
int fps = 0; |
|
|
|
|
|
|
|
#if !defined(SUPPORT_CUSTOM_FRAME_CONTROL) |
|
|
|
#if !SUPPORT_CUSTOM_FRAME_CONTROL |
|
|
|
#define FPS_CAPTURE_FRAMES_COUNT 30 // 30 captures |
|
|
|
#define FPS_AVERAGE_TIME_SECONDS 0.5f // 500 milliseconds |
|
|
|
#define FPS_STEP (FPS_AVERAGE_TIME_SECONDS/FPS_CAPTURE_FRAMES_COUNT) |
|
|
|
@ -4582,7 +4582,7 @@ static void RecordAutomationEvent(void) |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
#if !defined(SUPPORT_MODULE_RTEXT) |
|
|
|
#if !SUPPORT_MODULE_RTEXT |
|
|
|
// Formatting of text with variables to 'embed' |
|
|
|
// WARNING: String returned will expire after this function is called MAX_TEXTFORMAT_BUFFERS times |
|
|
|
const char *TextFormat(const char *text, ...) |
|
|
|
|