From 2b4b055204ca592f83e8b0fd8b44015f23c7248f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 10 Mar 1999 16:40:19 +0000 Subject: Updated not to use v3f() macro. No longer use glColor4ub(), as 1) Sun's compilers have trouble with their own headers with this (glColor4ub is a macro, a VERY bad thing to do!), and 2) it's an OpenGL 1.1 feature, and not all platforms support it. Also optimized the QUAD and LINE primitives. git-svn-id: file:///fltk/svn/fltk/trunk@404 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/CubeView.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/CubeView.h') diff --git a/test/CubeView.h b/test/CubeView.h index 39bddcb42..2099b60d9 100644 --- a/test/CubeView.h +++ b/test/CubeView.h @@ -1,5 +1,5 @@ // -// "$Id: CubeView.h,v 1.3 1999/03/04 20:26:00 mike Exp $" +// "$Id: CubeView.h,v 1.4 1999/03/10 16:40:19 mike Exp $" // // CubeView class definitions for the Fast Light Tool Kit (FLTK). // @@ -37,9 +37,6 @@ #include -// shorthand to save some bits. -#define v3f(x) glVertex3fv(x) - #if HAVE_GL class CubeView : public Fl_Gl_Window { #else @@ -122,5 +119,5 @@ private: #endif // -// End of "$Id: CubeView.h,v 1.3 1999/03/04 20:26:00 mike Exp $". +// End of "$Id: CubeView.h,v 1.4 1999/03/10 16:40:19 mike Exp $". // -- cgit v1.2.3