njChangeTextureMemorySize
| |
テクスチャメモリサイズの変更 |
#include <Ninja.h> void njChangeTextureMemorySize( size ) Uint32 size
/* NINDOWSを終了する */ nwExitSystem(); /* デバッグ文字も終了する */ njExitPrint(); /* テクスチャをすべてリリースする*/ njReleaseTextureAll(); /* テクスチャメモリサイズを変更する */ njSetTextureMemorySize(0x120000); /* デバッグ文字の初期化 */ njInitPrint(NULL,0,0); /* NINDOWSを初期化する */ nwInitSystem(100,NJD_PORT_A0); /* テクスチャをロードし直す */ njLoadTexture(&texlist);
njChangeTextureMemorySize |