Changeset 340 for trunk/src/sdl


Ignore:
Timestamp:
09/25/14 00:15:32 (11 years ago)
Author:
epyon
Message:
  • new image types for gl (floating point texture support)
  • implicitly using GL_ARB_texture_float
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sdl/sdl_window.cc

    r336 r340  
    2929        SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
    3030        SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 1);
    31         SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
    3231        SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
    3332
     
    6665        NV_LOG( LOG_INFO, "OpenGL Version      : " << glGetString(GL_VERSION) );
    6766        NV_LOG( LOG_INFO, "OpenGL GLSL Version : " << glGetString(GL_SHADING_LANGUAGE_VERSION) );
    68         // SDL_GL_SetSwapInterval(1);
     67        //SDL_GL_SetSwapInterval(0);
    6968
    7069        // TODO: do we really need this?
Note: See TracChangeset for help on using the changeset viewer.