diff libgui/graphics/qopengl-functions.h @ 30899:48ef5fabe9b7

maint: Use "fcn" as preferred abbreviation for "function" in libgui/. * Logger.cc, qopengl-functions.h: Replace "func", "fun" in variable names with "fcn".
author Rik <rik@octave.org>
date Tue, 05 Apr 2022 13:33:39 -0700
parents 796f54d4ddbf
children c6d54dd31a7e
line wrap: on
line diff
--- a/libgui/graphics/qopengl-functions.h	Tue Apr 05 13:20:48 2022 -0700
+++ b/libgui/graphics/qopengl-functions.h	Tue Apr 05 13:33:39 2022 -0700
@@ -63,9 +63,9 @@
 
 #if defined (HAVE_QOPENGLFUNCTIONS_1_1)
 
-    void glAlphaFunc (GLenum func, GLclampf ref)
+    void glAlphaFunc (GLenum fcn, GLclampf ref)
     {
-      m_glfcns.glAlphaFunc (func, ref);
+      m_glfcns.glAlphaFunc (fcn, ref);
     }
 
     void glBegin (GLenum mode)
@@ -150,9 +150,9 @@
       m_glfcns.glDeleteTextures (n, textures);
     }
 
-    void glDepthFunc (GLenum func)
+    void glDepthFunc (GLenum fcn)
     {
-      m_glfcns.glDepthFunc (func);
+      m_glfcns.glDepthFunc (fcn);
     }
 
     void glDisable (GLenum cap)