- Timestamp:
- 06/03/13 16:06:51 (12 years ago)
- Location:
- trunk/src/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_device.cc
r92 r98 17 17 window* gl_device::create_window( uint16 width, uint16 height ) 18 18 { 19 return new gl_window( width, height );19 return new gl_window( this, width, height ); 20 20 } 21 21 -
trunk/src/gl/gl_window.cc
r93 r98 148 148 149 149 150 gl_window::gl_window( uint16 width, uint16 height )151 : m_ width( width ), m_height( height ), m_title("NV Engine"), m_screen( nullptr )150 gl_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 ) 152 152 { 153 153 int flags = SDL_OPENGL;
Note: See TracChangeset
for help on using the changeset viewer.