X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2FjwzglesI.h;h=89bd881386f38815341385c7c8fd9e2dbc248d84;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hp=afe0b35ca91a17e720fc23ca066756e664d64b23;hpb=4ade52359b6eba3621566dac79793a33aa4c915f;p=xscreensaver diff --git a/hacks/glx/jwzglesI.h b/hacks/glx/jwzglesI.h index afe0b35c..89bd8813 100644 --- a/hacks/glx/jwzglesI.h +++ b/hacks/glx/jwzglesI.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 2012-2013 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 @@ -114,10 +114,15 @@ # define GL_V2F 0x2A20 # define GL_V3F 0x2A21 # define GL_VIEWPORT_BIT 0x00000800 +# define GL_INT 0x1404 +# define GL_DOUBLE 0x140A #endif +extern void jwzgles_reset (void); + + /* Prototypes for the things re-implemented in jwzgles.c */ @@ -136,6 +141,7 @@ extern void jwzgles_glTexCoord3f (GLfloat s, GLfloat t, GLfloat r); extern void jwzgles_glTexCoord4fv (const GLfloat *); extern void jwzgles_glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q); extern void jwzgles_glVertex2f (GLfloat x, GLfloat y); +extern void jwzgles_glVertex2dv (const GLdouble *); extern void jwzgles_glVertex2fv (const GLfloat *); extern void jwzgles_glVertex2i (GLint x, GLint y); extern void jwzgles_glVertex3f (GLfloat x, GLfloat y, GLfloat z); @@ -284,6 +290,7 @@ extern void jwzgles_glTexParameterf (GLuint, GLuint, GLfloat); extern void jwzgles_glTexParameteri (GLuint, GLuint, GLuint); extern void jwzgles_glTexGeni (GLenum, GLenum, GLint); extern void jwzgles_glTexGenfv (GLenum, GLenum, const GLfloat *); +extern void jwzgles_glGetTexGenfv (GLenum, GLenum, GLfloat *); extern void jwzgles_glRectf (GLfloat, GLfloat, GLfloat, GLfloat); extern void jwzgles_glRecti (GLint, GLint, GLint, GLint); extern void jwzgles_glLightModelfv (GLenum, const GLfloat *);