aboutsummaryrefslogtreecommitdiff
path: root/tests/cubegeom_mt.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-02 16:48:08 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-02 17:09:16 -0700
commiteefc6d6efdd7d65aaad520d8615ce82a939ceec0 (patch)
tree8ec35295ad88215d1162391918c72df4fac80457 /tests/cubegeom_mt.c
parent3d9690109e9c5f75202524012a628b5776d2a06a (diff)
update cube browser tests to use reftests
Diffstat (limited to 'tests/cubegeom_mt.c')
-rw-r--r--tests/cubegeom_mt.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/cubegeom_mt.c b/tests/cubegeom_mt.c
index 464de7cc..b4ad28a7 100644
--- a/tests/cubegeom_mt.c
+++ b/tests/cubegeom_mt.c
@@ -29,20 +29,6 @@ REDISTRIBUTION OF THIS SOFTWARE.
#include <string.h>
#include <assert.h>
-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;
@@ -288,8 +274,6 @@ int main(int argc, char *argv[])
SDL_GL_SwapBuffers();
- verify();
-
#if !EMSCRIPTEN
SDL_Delay(1500);
#endif