Changeset 157 for trunk/src/gl
- Timestamp:
- 07/08/13 19:59:07 (12 years ago)
- Location:
- trunk/src/gl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_context.cc
r121 r157 349 349 350 350 351 gl_context::gl_context() 351 gl_context::gl_context( device* a_device ) 352 : context( a_device ) 352 353 { 353 354 // TODO: do we really need this? -
trunk/src/gl/gl_window.cc
r121 r157 167 167 NV_LOG( LOG_INFO, "OpenGL GLSL Version : " << glGetString(GL_SHADING_LANGUAGE_VERSION) ); 168 168 169 m_context = new gl_context( );169 m_context = new gl_context( m_device ); 170 170 m_context->set_viewport( nv::ivec4( 0, 0, m_width, m_height ) ); 171 171 }
Note: See TracChangeset
for help on using the changeset viewer.