From f09e17c3c564e8310125a10c03397cbf473ff643 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 1 Jul 2020 18:03:10 +0200 Subject: Remove $Id$ tags, update URL's, and more - remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers. --- documentation/src/opengl.dox | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'documentation/src/opengl.dox') diff --git a/documentation/src/opengl.dox b/documentation/src/opengl.dox index 94c13eb17..9d727d87a 100644 --- a/documentation/src/opengl.dox +++ b/documentation/src/opengl.dox @@ -1,6 +1,6 @@ /** - \page opengl Using OpenGL + \page opengl Using OpenGL This chapter discusses using FLTK for your OpenGL applications. @@ -55,15 +55,15 @@ glDrawBuffer(GL_BACK);
- +
Note: + Note: - If you are using the Mesa graphics library, the call - to \p glDrawBuffer() is not required and will slow - down drawing considerably. The preprocessor instructions - shown above will optimize your code based upon the - graphics library used. + If you are using the Mesa graphics library, the call + to \p glDrawBuffer() is not required and will slow + down drawing considerably. The preprocessor instructions + shown above will optimize your code based upon the + graphics library used. -
@@ -150,12 +150,12 @@ loading functions by doing: \code case FL_PUSH: - make_current(); // make OpenGL context current + make_current(); // make OpenGL context current if (!valid()) { ... set up projection exactly the same as draw ... - valid(1); // stop it from doing this next time + valid(1); // stop it from doing this next time } ... ok to call NON-DRAWING OpenGL code here, such as hit detection, loading textures, etc... @@ -453,10 +453,10 @@ void OptimizerWindow::draw() { // Clear the window... context_->clear(csContext::COLOR_CLEAR | csContext::DEPTH_CLEAR, - 0.0f, // Red - 0.0f, // Green - 0.0f, // Blue - 1.0f); // Alpha + 0.0f, // Red + 0.0f, // Green + 0.0f, // Blue + 1.0f); // Alpha // Then draw the scene (if any)... if (scene_) -- cgit v1.2.3