Hello Mr. Lotter,

please have look at the following code snippet:
Code:
#include <acknex.h>

void main()
{
//	level_load(NULL);
	MATERIAL* m = mtl_create();
	effect_load(m,"whatever.fx");
}


This will result in
Originally Posted By: Malfunction W1507
Video functions not available before first frame

If you however uncomment the level_load instruction the snippet will work as expected though it is still executed before the first frame.


Always learn from history, to be sure you make the same mistakes again...