| 155 | } |
| 156 | |
| 157 | int main(int argc, char *argv[]) { |
| 158 | glutInit(&argc, argv); |
| 159 | glutInitWindowSize(640, 480); |
| 160 | glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); |
| 161 | int w = glutCreateWindow("Simple FLOAT Texture Test"); |
| 162 | /* Set up glut callback functions */ |
| 163 | glutDisplayFunc(glut_draw_callback); |
| 164 | gl_init(); |
| 165 | #ifdef __EMSCRIPTEN__ |
| 166 | // This test kicks off an asynchronous glutMainLoop(), so do not perform a synchronous |
| 167 | // reftest immediately after falling out from main. |
| 168 | EM_ASM({reftestBlock()}); |
| 169 | #endif |
| 170 | glutMainLoop(); |
| 171 | return 0; |
| 172 | } |
| 173 | |
| 174 |
nothing calls this directly
no test coverage detected