Add an assert on custom frame control support
This commit is contained in:
parent
0e1fc33c5c
commit
8fe61b2a4c
|
|
@ -27,12 +27,20 @@
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
|
#include "config.h"
|
||||||
|
#include "assert.h"
|
||||||
|
|
||||||
//------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------
|
||||||
// Program main entry point
|
// Program main entry point
|
||||||
//------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------
|
||||||
int main(void)
|
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
|
// Initialization
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
const int screenWidth = 800;
|
const int screenWidth = 800;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user