Ignore:
Timestamp:
Jan 31, 2013, 2:17:09 AM (8 years ago)
Author:
sam
Message:

build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/sdl/sdlapp.cpp

    r2276 r2300  
    1414
    1515#if defined USE_SDL
    16 #   if defined HAVE_SDL_SDL_H
     16#   if defined HAVE_SDL2_SDL_H
     17#      include <SDL2/SDL.h>
     18#   elif defined HAVE_SDL_SDL_H
    1719#      include <SDL/SDL.h>
    1820#   else
     
    7476    SDL_GetWMInfo(&wminfo);
    7577    g_hwnd = wminfo.window;
     78#   elif SDL_VERSION_ATLEAST(2,0,0)
     79    TODO
    7680#   else
    7781    SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
Note: See TracChangeset for help on using the changeset viewer.