Update Doxygen doc of Fl_Gl_Window::draw() for HighDPI support

This commit is contained in:
ManoloFLTK 2019-04-13 08:09:01 +02:00
parent f55729ed32
commit 8540db95d8
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ void Fl_Gl_Window::draw_overlay() {}
void mywindow::draw() {
if (!valid()) {
glLoadIdentity();
glViewport(0,0,w(),h());
glViewport(0,0,pixel_w(),pixel_h());
glOrtho(-w(),w(),-h(),h(),-1,1);
}
// Clear screen