Hello Mr. Lotter,
please have look at the following code snippet:
#include <acknex.h>
void main()
{
// level_load(NULL);
MATERIAL* m = mtl_create();
effect_load(m,"whatever.fx");
}
This will result in
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.