printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds, fps);
}
printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds, fps);
}
}
printf("egltri: Using screen mode/size %d: %d x %d\n", chosenMode, width, height);
}
printf("egltri: Using screen mode/size %d: %d x %d\n", chosenMode, width, height);
ctx = eglCreateContext(d, configs[0], EGL_NO_CONTEXT, NULL);
if (ctx == EGL_NO_CONTEXT) {
printf("egltri: failed to create context\n");
ctx = eglCreateContext(d, configs[0], EGL_NO_CONTEXT, NULL);
if (ctx == EGL_NO_CONTEXT) {
printf("egltri: failed to create context\n");