From eefc6d6efdd7d65aaad520d8615ce82a939ceec0 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 2 Aug 2013 16:48:08 -0700 Subject: update cube browser tests to use reftests --- tests/cubegeom_normal_dap_far_range.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'tests/cubegeom_normal_dap_far_range.c') diff --git a/tests/cubegeom_normal_dap_far_range.c b/tests/cubegeom_normal_dap_far_range.c index eb54c22a..17691ce9 100644 --- a/tests/cubegeom_normal_dap_far_range.c +++ b/tests/cubegeom_normal_dap_far_range.c @@ -29,20 +29,6 @@ REDISTRIBUTION OF THIS SOFTWARE. #include #include -void verify() { - int width = 640, height = 480; - unsigned char *data = (unsigned char*)malloc(width*height*4); - glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, data); - int sum = 0; - for (int x = 0; x < width*height*4; x++) { - if (x % 4 != 3) sum += x * data[x]; - } -#if EMSCRIPTEN - int result = sum; - REPORT_RESULT(); -#endif -} - int main(int argc, char *argv[]) { SDL_Surface *screen; @@ -277,8 +263,6 @@ int main(int argc, char *argv[]) SDL_GL_SwapBuffers(); - verify(); - #if !EMSCRIPTEN SDL_Delay(1500); #endif -- cgit v1.2.3-18-g5258