mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@7060 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4681481552
commit
3de4673261
1 changed files with 4 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ struct OpenGLExample : GLCtrl {
|
|||
glVertex3d(0, 0, 1.67);
|
||||
glEnd();
|
||||
}
|
||||
|
||||
virtual void GLResize(int w, int h) {
|
||||
glViewport(0, 0, (GLsizei)w, (GLsizei)h);
|
||||
}
|
||||
|
||||
virtual void MouseMove(Point p, dword) {
|
||||
point = p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue