source: trunk/test/debug/quad.cpp @ 1647

Last change on this file since 1647 was 1647, checked in by sam, 8 years ago

build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.

  • Property svn:keywords set to Id
File size: 748 bytes
Line 
1//
2// Lol Engine - Debug Quad test program
3//
4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#include "core.h"
16#include "lolgl.h"
17#include "loldebug.h"
18
19using namespace std;
20using namespace lol;
21
22int main(int argc, char **argv)
23{
24    Application app("Quad", ivec2(640, 480), 60.0f);
25
26    /* Register some debug stuff */
27    new DebugFps(5, 5);
28    //new DebugQuad();
29
30    app.Run();
31
32    return EXIT_SUCCESS;
33}
34
Note: See TracBrowser for help on using the repository browser.