From http://www.jwz.org/xscreensaver/xscreensaver-5.33.tar.gz
[xscreensaver] / hacks / glx / jwzgles.c
index ff915a021064510f2f10bbf5ce3d507fb11e363a..5b0b51a5dfc2a6506a92c2f1f0da7147385d08c4 100644 (file)
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 2012-2014 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2012-2015 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -1588,6 +1588,12 @@ jwzgles_glVertex2f (GLfloat x, GLfloat y)
   jwzgles_glVertex3fv (v);
 }
 
+void
+jwzgles_glVertex2dv (const GLdouble *v)
+{
+  jwzgles_glVertex2f (v[0], v[1]);
+}
+
 void
 jwzgles_glVertex2fv (const GLfloat *v)
 {