Changeset 1645 for trunk/tutorial


Ignore:
Timestamp:
Jul 18, 2012, 6:41:08 PM (8 years ago)
Author:
sam
Message:

core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.

Location:
trunk/tutorial
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/01_triangle.cpp

    r1518 r1645  
    1919using namespace lol;
    2020
    21 #if USE_SDL && defined __APPLE__
     21#if USE_SDL
    2222#   include <SDL_main.h>
    2323#endif
    2424
    2525#if defined _WIN32
    26 #   undef main /* FIXME: still needed? */
    2726#   include <direct.h>
    2827#endif
  • trunk/tutorial/02_cube.cpp

    r1518 r1645  
    1919using namespace lol;
    2020
    21 #if USE_SDL && defined __APPLE__
     21#if USE_SDL
    2222#   include <SDL_main.h>
    2323#endif
    2424
    2525#if defined _WIN32
    26 #   undef main /* FIXME: still needed? */
    2726#   include <direct.h>
    2827#endif
  • trunk/tutorial/05_easymesh.cpp

    r1619 r1645  
    1818using namespace lol;
    1919
    20 #if USE_SDL && defined __APPLE__
     20#if USE_SDL
    2121#   include <SDL_main.h>
    2222#endif
  • trunk/tutorial/08_fbo.cpp

    r1574 r1645  
    1919using namespace lol;
    2020
    21 #if USE_SDL && defined __APPLE__
     21#if USE_SDL
    2222#   include <SDL_main.h>
    2323#endif
    2424
    2525#if defined _WIN32
    26 #   undef main /* FIXME: still needed? */
    2726#   include <direct.h>
    2827#endif
  • trunk/tutorial/11_fractal.cpp

    r1557 r1645  
    2727#endif
    2828
    29 #if USE_SDL && defined __APPLE__
     29#if USE_SDL
    3030#   include <SDL_main.h>
    3131#endif
    3232
    3333#if defined _WIN32
    34 #   undef main /* FIXME: still needed? */
    3534#   include <direct.h>
    3635#endif
Note: See TracChangeset for help on using the changeset viewer.