Output the value of Fl_Gl_Window::pixels_per_unit() as a float.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
dcf8bc2afa
commit
1680285406
@ -167,7 +167,7 @@ public:
|
|||||||
data[0] *= factor;
|
data[0] *= factor;
|
||||||
glBufferSubData(GL_ARRAY_BUFFER, 24*sizeof(GLfloat), 4*sizeof(GLfloat), data);
|
glBufferSubData(GL_ARRAY_BUFFER, 24*sizeof(GLfloat), 4*sizeof(GLfloat), data);
|
||||||
redraw();
|
redraw();
|
||||||
add_output("push Fl_Gl_Window::pixels_per_unit()=%d\n", int(pixels_per_unit()));
|
add_output("push Fl_Gl_Window::pixels_per_unit()=%.1f\n", pixels_per_unit());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return Fl_Gl_Window::handle(event);
|
return Fl_Gl_Window::handle(event);
|
||||||
|
Loading…
Reference in New Issue
Block a user