glViewport(0,0,(int) global->sys_glWidth,(int) global->sys_glHeight);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- gluOrtho2D(0,global->sys_glWidth,0,global->sys_glHeight);
+ glOrtho(0,global->sys_glWidth,0,global->sys_glHeight,-1,1);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- glClearColor(0.0,0.0,0.0,1.0);
glClear(GL_COLOR_BUFFER_BIT);
glEnableClientState(GL_COLOR_ARRAY);
glViewport(0.0, 0.0, width, height);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- gluOrtho2D(0, width, 0, height);
+ glOrtho(0, width, 0, height,-1,1);
glMatrixMode(GL_MODELVIEW);
-
- glClearColor(0.0, 0.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT);
-
glFlush();
-
GLResize(global, (float)width, (float)height);
}
case PRESET_FIRE: {
flurry_info_t *flurry;
- flurry = new_flurry_info(global, 12, slowCyclicColorMode, 10000.0, 0.0, 1.0);
+ flurry = new_flurry_info(global, 12, slowCyclicColorMode, 10000.0, 0.2, 1.0);
flurry->next = global->flurry;
global->flurry = flurry;
break;