]> git.cworth.org Git - fips/blobdiff - test/glx-dlopen-gpaa.c
test: Add 4 tests using EGL and OpenGLESv2
[fips] / test / glx-dlopen-gpaa.c
index 61129a187968fcb0d4a9a41f8e5202d77ad9adb0..cd4595b10c52a7bfca837bd1464d4f560d9ea15a 100644 (file)
@@ -39,9 +39,6 @@
 void* (*my_glXGetProcAddressARB) (char *);
 void (*my_glClear) (GLbitfield);
 void (*my_glClearColor) (GLclampf, GLclampf, GLclampf, GLclampf);
-void (*my_glLoadIdentity) (void);
-void (*my_glMatrixMode) (GLenum);
-void (*my_glOrtho) (GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
 void (*my_glViewport) (GLint, GLint, GLsizei, GLsizei);
 XVisualInfo * (*my_glXChooseVisual) (Display *, int, int *);
 GLXContext (*my_glXCreateContext) (Display *, XVisualInfo *, GLXContext, Bool);
@@ -86,24 +83,6 @@ resolve_symbols (void)
                exit (1);
        }
 
-       my_glLoadIdentity = my_glXGetProcAddressARB ("glLoadIdentity");
-       if (my_glLoadIdentity == NULL) {
-               fprintf (stderr, "Failed to glXGetProcAddressARB glLoadIdentity\n");
-               exit (1);
-       }
-
-       my_glMatrixMode = my_glXGetProcAddressARB ("glMatrixMode");
-       if (my_glMatrixMode == NULL) {
-               fprintf (stderr, "Failed to glXGetProcAddressARB glMatrixMode\n");
-               exit (1);
-       }
-
-       my_glOrtho = my_glXGetProcAddressARB ("glOrtho");
-       if (my_glOrtho == NULL) {
-               fprintf (stderr, "Failed to glXGetProcAddressARB glOrtho\n");
-               exit (1);
-       }
-
        my_glViewport = my_glXGetProcAddressARB ("glViewport");
        if (my_glViewport == NULL) {
                fprintf (stderr, "Failed to glXGetProcAddressARB glViewport\n");