forked from mia/Aegisub
11 lines
291 B
C
11 lines
291 B
C
#if ImagePlanes==1
|
|
#define STATIC_FOR {DOFOR(0)}
|
|
#elif ImagePlanes==3
|
|
#define STATIC_FOR {DOFOR(0) DOFOR(1) DOFOR(2)}
|
|
#elif ImagePlanes==4
|
|
#define STATIC_FOR {DOFOR(0) DOFOR(1) DOFOR(2) DOFOR(3)}
|
|
#else
|
|
#define STATIC_FOR {for( int dofori=0;dofori<ImagePlanes;++doforti ){DOFOR(i)}}
|
|
#endif
|
|
|