// libc
int (*rand)(void);
void (*srand)(unsigned int);
- time_t (*time)(time_t*);
// libGL
- void (*glBegin)(GLenum);
- void (*glEnd)(void);
- void (*glColor4f)(GLfloat, GLfloat, GLfloat, GLfloat);
- //void (*glVertex3f)(GLfloat, GLfloat, GLfloat);
- void (*glVertex3fv)(const GLfloat*);
void (*glRotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
+ void (*glBindTexture)(GLenum, GLuint);
+ void (*glCopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
+ void (*glInterleavedArrays)(GLenum, GLsizei, const GLvoid*);
void (*glEnable)(GLenum);
- //void (*glDisable)(GLenum);
+ void (*glDisable)(GLenum);
void (*glMatrixMode)(GLenum);
void (*glLoadIdentity)(void);
void (*glClear)(GLbitfield);
//void (*glScalef)(GLfloat, GLfloat, GLfloat);
- void (*glBlendFunc)(GLenum, GLenum);
- void (*glTranslatef)(GLfloat, GLfloat, GLfloat);
- //void (*glNormal3f)(GLfloat, GLfloat, GLfloat);
- //void (*glTexGeni)(GLenum, GLenum, GLint);
- //void (*glGetFloatv)(GLenum, GLfloat *);
- void (*glPushMatrix)(void);
- void (*glPopMatrix)(void);
+ //void (*glBlendFunc)(GLenum, GLenum);
+ //void (*glTranslatef)(GLfloat, GLfloat, GLfloat);
+ //void (*glPushMatrix)(void);
+ //void (*glPopMatrix)(void);
//void (*glTexCoord2f)(GLfloat, GLfloat);
- //void (*glBindTexture)(GLenum, GLuint);
- //void (*glGenTextures)(GLsizei, GLuint *);
- void (*glRectf)(GLfloat, GLfloat, GLfloat, GLfloat);
+ void (*glBindTexture)(GLenum, GLuint);
+ void (*glRecti)(GLint, GLint, GLint, GLint);
void (*glClearColor)(GLfloat, GLfloat, GLfloat, GLfloat);
- void (*glXUseXFont)(Font, int, int, int);
- void (*glRasterPos2f)(GLfloat, GLfloat);
- void (*glCallLists)(GLsizei, GLenum, const GLvoid *);
+ //void (*glXUseXFont)(Font, int, int, int);
+ //void (*glRasterPos2f)(GLfloat, GLfloat);
+ //void (*glCallLists)(GLsizei, GLenum, const GLvoid *);
// libGLU
void (*gluPerspective)(GLdouble, GLdouble, GLdouble, GLdouble);
// GLenum, GLenum, const void *);
// libX11.so
- Display* (*XOpenDisplay)(int);
- XFontStruct* (*XLoadQueryFont)(Display*, char *);
+ //Display* (*XOpenDisplay)(int);
+ //XFontStruct* (*XLoadQueryFont)(Display*, char *);
} FN_STRUCT;