Changeset 2237 for trunk/test


Ignore:
Timestamp:
Jan 21, 2013, 12:28:22 AM (7 years ago)
Author:
sam
Message:

system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/BtPhysTest.cpp

    r2216 r2237  
    33//
    44// Copyright: (c) 2009-2013 Benjamin "Touky" Huet <huet.benjamin@gmail.com>
    5 //            (c) 2012 Sam Hocevar <sam@hocevar.net>
     5//            (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
    66//
    77
     
    476476int main(int argc, char **argv)
    477477{
     478    System::Init(argc, argv);
     479
    478480    Application app("BtPhysTest", ivec2(1280, 720), 60.0f);
    479481
Note: See TracChangeset for help on using the changeset viewer.