Add an assert on custom frame control support

This commit is contained in:
Menno van der Graaf 2024-10-27 01:08:36 +02:00
parent 0e1fc33c5c
commit 8fe61b2a4c

View File

@ -27,12 +27,20 @@
********************************************************************************************/
#include "raylib.h"
#include "config.h"
#include "assert.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
#if !defined(SUPPORT_CUSTOM_FRAME_CONTROL)
// This examaple requires the SUPPORT_CUSTOM_FRAME_CONTROL feature.
// Please edit your raylib config.h and recompile raylib.
assert(false);
#endif
// Initialization
//--------------------------------------------------------------------------------------
const int screenWidth = 800;