X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fjwzgles.c;h=5b0b51a5dfc2a6506a92c2f1f0da7147385d08c4;hp=ff915a021064510f2f10bbf5ce3d507fb11e363a;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hpb=7edd66e6bd3209013ee059819747b10b5835635b diff --git a/hacks/glx/jwzgles.c b/hacks/glx/jwzgles.c index ff915a02..5b0b51a5 100644 --- a/hacks/glx/jwzgles.c +++ b/hacks/glx/jwzgles.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 2012-2014 Jamie Zawinski +/* xscreensaver, Copyright (c) 2012-2015 Jamie Zawinski * * 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) {