Changeset 695


Ignore:
Timestamp:
Feb 28, 2011, 3:25:54 AM (8 years ago)
Author:
sam
Message:

Use EglApp instead of SdlApp under GLES 2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/monsterz.cpp

    r686 r695  
    2222using namespace lol;
    2323
    24 #if defined HAVE_GLES_2X
     24#if defined HAVE_GLES_1X || defined HAVE_GLES_2X
    2525#   include "eglapp.h"
    2626#else
     
    3939int main(int argc, char **argv)
    4040{
    41 #if defined HAVE_GLES_2X
     41#if defined HAVE_GLES_1X || defined HAVE_GLES_2X
    4242    EglApp app("Monsterz", vec2i(640, 480), 60.0f);
    4343#else
     
    5050
    5151    /* Register an input driver and some debug stuff */
    52 #if !defined HAVE_GLES_2X
     52#if !defined HAVE_GLES_1X && !defined HAVE_GLES_2X
    5353    new SdlInput();
    5454#endif
Note: See TracChangeset for help on using the changeset viewer.