summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/tests.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-30 17:25:16 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-30 17:28:41 -0500
commit802153469d8763ed0dfe58590cee91aac1c49246 (patch)
treec08888f8e793377415a88e69bdf393835d5da867 /tests/libdimension/tests.h
parent4f40f29ade4a6b2c0b27ba902281718662cdde82 (diff)
downloaddimension-802153469d8763ed0dfe58590cee91aac1c49246.tar.xz
Test for GLX usability.
Diffstat (limited to 'tests/libdimension/tests.h')
-rw-r--r--tests/libdimension/tests.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/libdimension/tests.h b/tests/libdimension/tests.h
index 995a063..294670d 100644
--- a/tests/libdimension/tests.h
+++ b/tests/libdimension/tests.h
@@ -21,8 +21,6 @@
#define TESTS_H
#include "dimension.h"
-#include <GL/glx.h>
-#include <GL/gl.h>
#include <unistd.h>
#include <stdio.h>
@@ -35,14 +33,7 @@ extern "C" {
* Windowing
*/
-typedef struct {
- Display *dpy;
- Window win;
- Colormap cmap;
- GLXContext cx;
- XEvent event;
- XVisualInfo *vi;
-} dmnsn_display;
+typedef struct dmnsn_display dmnsn_display;
dmnsn_display *dmnsn_new_display(const dmnsn_canvas *canvas);
void dmnsn_delete_display(dmnsn_display *display);