Browse Source

Add an assert on custom frame control support

pull/4444/head
Menno van der Graaf 2 months ago
parent
commit
8fe61b2a4c
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      examples/core/core_custom_frame_control.c

+ 8
- 0
examples/core/core_custom_frame_control.c 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;

Loading…
Cancel
Save