2 * Updated to use (probably buggy) fixed-point math
19 videoSetMode(MODE_0_3D);
22 irqEnable(IRQ_VBLANK);
25 glEnable(GL_ANTIALIAS);
26 glClearColor(16, 16, 16, 31);
30 glViewport(0, 0, 255, 191);
32 glMatrixMode(GL_PROJECTION);
34 glOrthof32(0, 255, 191, 0, 0, 1);
37 glPolyFmt(POLY_ALPHA(0) | POLY_CULL_NONE);
40 for (i = 0; i < NPIXELS; i++)
41 pixel_init(&pixels[i]);
43 glMatrixMode(GL_MODELVIEW);