static void draw() { if (!resultAA) resultAA = testAntiAliasing(antiAliasingActivated); if (!resultDepth) resultDepth = testDepth(depthActivated); if (!resultStencil) resultStencil = testStencil(stencilActivated); result = resultAA && resultDepth && resultStencil; }
int main(int argc, char** argv) { testFullMatrix(100); testStencil(100); }