Przeglądaj źródła

Add an assert on custom frame control support

pull/4444/head
Menno van der Graaf 2 miesięcy temu
rodzic
commit
8fe61b2a4c
1 zmienionych plików z 8 dodań i 0 usunięć
  1. +8
    -0
      examples/core/core_custom_frame_control.c

+ 8
- 0
examples/core/core_custom_frame_control.c Wyświetl plik

@ -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;

Ładowanie…
Anuluj
Zapisz