summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-23 20:22:50 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-23 20:22:50 +0000
commitde12eddb59bea9ba529230d14cccf3dbef5518e4 (patch)
tree6c19dcb3d9c5ff7a8ad3cfb2db4ff31f87217e0e /test
parent1bb1e0f42e7bbcdaa7a4560940c2cd590fc954cf (diff)
Added OpenGL implementation of fl_vertex calls. Compiling and linking, but functionality untested.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/cube.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cube.cxx b/test/cube.cxx
index 9dea82290..e67136e91 100644
--- a/test/cube.cxx
+++ b/test/cube.cxx
@@ -147,7 +147,8 @@ void makeform(const char *name) {
cube = new cube_box(23,23,344,344, 0);
if (Fl::cfg_gfx_opengl) { // try to overlay a button onto an OpenGL window
cube->begin();
- /*Fl_Button *test =*/ new Fl_Button(35, 105, 100, 30, "Test");
+ Fl_Button *test = new Fl_Button(35, 105, 100, 30, "Test");
+ test->box(FL_ROUND_UP_BOX);
cube->end();
}
cube2 = new cube_box(513,23,344,344, 0);