Changeset 2625


Ignore:
Timestamp:
Apr 4, 2013, 2:41:15 AM (10 years ago)
Author:
sam
Message:

build: use GLES (not GL) when using emscripten, and disable SdlInput too.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lolgl.h

    r2183 r2625  
    1818
    1919#define GL_GLEXT_PROTOTYPES
     20
     21/* Prefer GLES on browsers */
     22#if defined EMSCRIPTEN
     23#   undef HAVE_GL_2X
     24#endif
    2025
    2126/* Only define one GL platform */
  • trunk/src/platform/sdl/sdlapp.cpp

    r2506 r2625  
    101101    new D3d9Input();
    102102#   endif
     103
     104#   if !defined EMSCRIPTEN
    103105    new SdlInput();
     106#   endif
    104107#endif
    105108}
Note: See TracChangeset for help on using the changeset viewer.