Changeset 1050


Ignore:
Timestamp:
Nov 6, 2011, 2:07:47 AM (8 years ago)
Author:
sam
Message:

test: fix OS X compilation; we still need SDLmain.a on that platform.

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/video.cpp

    r1044 r1050  
    4545
    4646#if defined __ANDROID__ || defined __CELLOS_LV2__ || defined __APPLE__
    47 ivec2 VideoData::saved_viewport = 0;
     47ivec2 VideoData::saved_viewport(0, 0);
    4848#endif
    4949
  • trunk/test/math/pi.cpp

    r1008 r1050  
    1414
    1515#include <cstdio>
     16
     17#if USE_SDL && defined __APPLE__
     18#   include <SDL_main.h>
     19#endif
    1620
    1721#include "core.h"
  • trunk/test/math/poly.cpp

    r1015 r1050  
    1414
    1515#include <cstdio>
     16
     17#if USE_SDL && defined __APPLE__
     18#   include <SDL_main.h>
     19#endif
    1620
    1721#include "core.h"
     
    96100}
    97101
    98 int main(void)
     102int main(int argc, char **argv)
    99103{
    100104    typedef union { float f; uint32_t x; } flint;
  • trunk/test/math/remez.cpp

    r1027 r1050  
    1515#include <cstring>
    1616#include <cstdio>
     17
     18#if USE_SDL && defined __APPLE__
     19#   include <SDL_main.h>
     20#endif
    1721
    1822#include "core.h"
     
    3741}
    3842
    39 int main(void)
     43int main(int argc, char **argv)
    4044{
    4145    RemezSolver<6> solver;
  • trunk/test/tutorial/tut01.cpp

    r1043 r1050  
    111111};
    112112
    113 int main()
     113int main(int argc, char **argv)
    114114{
    115115    Application app("Tutorial 1: Triangle", ivec2(640, 480), 60.0f);
  • trunk/test/tutorial/tut02.cpp

    r1045 r1050  
    174174};
    175175
    176 int main()
     176int main(int argc, char **argv)
    177177{
    178178    Application app("Tutorial 2: Cube", ivec2(640, 480), 60.0f);
  • trunk/test/xolotl/xolotl.cpp

    r1043 r1050  
    6464};
    6565
    66 int main()
     66int main(int argc, char **argv)
    6767{
    6868    Application app("Xolotl", ivec2(640, 480), 60.0f);
Note: See TracChangeset for help on using the changeset viewer.