diff options
Diffstat (limited to 'test/shape.cxx')
| -rw-r--r-- | test/shape.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/shape.cxx b/test/shape.cxx index 17848e9f9..e45e826b6 100644 --- a/test/shape.cxx +++ b/test/shape.cxx @@ -45,7 +45,7 @@ void shape_window::draw() { if (!valid()) { valid(1); glLoadIdentity(); - glViewport(0, 0, w(), h()); + glViewport(0, 0, pixel_w(), pixel_h()); } // draw an amazing graphic: glClear(GL_COLOR_BUFFER_BIT); @@ -81,6 +81,7 @@ void sides_cb(Fl_Widget *o, void *p) { int main(int argc, char **argv) { + Fl::use_high_res_GL(1); Fl_Window window(300, 330); // the shape window could be it's own window, but here we make it |
