~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/hello_world_gles_deriv.c

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
#include <string.h>
47
47
#include <sys/time.h>
48
48
#include <unistd.h>
 
49
#ifdef __APPLE__
 
50
#include <OpenGL/gl.h>
 
51
#include <Glut/glut.h>
 
52
#else
49
53
#include <GL/gl.h>
50
54
#include <GL/glut.h>
 
55
#endif
51
56
 
52
57
#ifndef HAVE_BUILTIN_SINCOS
53
58
#include "sincos.h"
716
721
   glutCreateWindow("es2gears");
717
722
 
718
723
   /* Set up glut callback functions */
719
 
   gears_idle();
 
724
   glutIdleFunc (gears_idle);
720
725
   glutReshapeFunc(gears_reshape);
721
726
   glutDisplayFunc(gears_draw);
722
727
   glutSpecialFunc(gears_special);