19,469
社区成员
发帖
与我相关
我的任务
分享
void CFirstView::OnLButtonUp(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
glClearColor(1.0f, 1.0f, 1.0f, 1.0f
glClear(GL_COLOR_BUFFER_BIT glColor3f(0.0f, 1.0f, 0.0f);
glPointSize(10.0);
glBegin(GL_POINTS);
glVertex2f(point.x, point.y);
glEnd();
glFlush();
CView::OnLButtonUp(nFlags, point);
}