Ignore:
Timestamp:
06/03/13 16:06:51 (12 years ago)
Author:
epyon
Message:
  • window stores and can return it's device
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gl/gl_window.cc

    r93 r98  
    148148
    149149
    150 gl_window::gl_window( uint16 width, uint16 height )
    151         : m_width( width ), m_height( height ), m_title("NV Engine"), m_screen( nullptr )
     150gl_window::gl_window( device* dev, uint16 width, uint16 height )
     151        : m_device( dev ), m_width( width ), m_height( height ), m_title("NV Engine"), m_screen( nullptr )
    152152{
    153153        int flags = SDL_OPENGL;
Note: See TracChangeset for help on using the changeset viewer.