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

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

gpu: port the vertex buffer abstraction layer to OpenGL.

  • Property svn:keywords set to Id
File size: 883 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
22#if USE_SDL && defined __APPLE__
23#   include <SDL_main.h>
24#endif
25
26#if defined _WIN32
27#   undef main /* FIXME: still needed? */
28#endif
29
30int main(int argc, char **argv)
31{
32    Application app("Quad", ivec2(640, 480), 60.0f);
33
34    /* Register some debug stuff */
35    new DebugFps(5, 5);
36    //new DebugQuad();
37
38    app.Run();
39
40    return EXIT_SUCCESS;
41}
42
Note: See TracBrowser for help on using the repository browser.