Changeset 410 for trunk/src/gl/gl_window.cc
- Timestamp:
- 07/08/15 17:33:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_window.cc
r406 r410 104 104 m_handle = wm->adopt_window( handle ); 105 105 m_hwnd = ::GetDC( reinterpret_cast<HWND>( handle ) ); 106 m_context->set_viewport( nv::ivec4( 0, 0, m_width, m_height) );106 m_context->set_viewport( nv::ivec4( 0, 0, 1, 1 ) ); 107 107 #else 108 108 NV_ASSERT( false, "Native GL context adoption not implemented for this platform!" );
Note: See TracChangeset
for help on using the changeset viewer.