]> git.cworth.org Git - fips/blobdiff - test/glx-dlopen-gpa.c
test: Add 4 tests using EGL and OpenGLESv2
[fips] / test / glx-dlopen-gpa.c
index 514f6714909607abf7a794b509755c9869044103..902802368d02878f6a60cac24d755b24ed7959ed 100644 (file)
@@ -39,9 +39,6 @@
 void* (*my_glXGetProcAddress) (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_glXGetProcAddress ("glLoadIdentity");
-       if (my_glLoadIdentity == NULL) {
-               fprintf (stderr, "Failed to glXGetProcAddress glLoadIdentity\n");
-               exit (1);
-       }
-
-       my_glMatrixMode = my_glXGetProcAddress ("glMatrixMode");
-       if (my_glMatrixMode == NULL) {
-               fprintf (stderr, "Failed to glXGetProcAddress glMatrixMode\n");
-               exit (1);
-       }
-
-       my_glOrtho = my_glXGetProcAddress ("glOrtho");
-       if (my_glOrtho == NULL) {
-               fprintf (stderr, "Failed to glXGetProcAddress glOrtho\n");
-               exit (1);
-       }
-
        my_glViewport = my_glXGetProcAddress ("glViewport");
        if (my_glViewport == NULL) {
                fprintf (stderr, "Failed to glXGetProcAddress glViewport\n");