Code:
///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////

void main()
{
	fps_max = 60;
	video_mode = 6;
	camera.stage = view_create(0);
	set(camera.stage,PROCESS_TARGET);
	level_load(NULL);
	me = ent_create(CUBE_MDL,vector(128,0,0),NULL);
	var videoSwitchCounter = 32;
	var videoSwitchMode = 8;
	while(1)
	{
		my.pan += 6*time_step;
		draw_text(str_printf(NULL,"d3d_texbmaps: %.1f",(double)d3d_texbmaps),20,20,COLOR_WHITE);

		videoSwitchCounter = maxv(videoSwitchCounter-time_step,0);
		if(!videoSwitchCounter)
		{
			videoSwitchCounter = 16;
			videoSwitchMode++;
			if(videoSwitchMode > 12) videoSwitchMode = 8;
			video_switch(videoSwitchMode,0,2);
		}
		wait(1);
	}
}



d3d_texbmaps rises continuously (except a small bump going from highest to lowest resolution). Let a similar more resource heavy test run until > 65GB.
Does that make sense? Is this just a bug with the variable d3d_texbmaps (like that one nexus variable bug) or something else with the memory allocation for the post processing stage (target)?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends