This commit is contained in:
parent
46791b36f4
commit
84eb6ded52
15 changed files with 243 additions and 108 deletions
|
@ -216,7 +216,7 @@ void CGLEnabledView::OnDraw(CDC* pDC)
|
|||
wglMakeCurrent(m_pCDC->GetSafeHdc(), m_hRC);
|
||||
|
||||
// clear background
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
// glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
// call the virtual drawing procedure (to be overridden by user)
|
||||
OnDrawGL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue