*/
#include "glxbackend.h"
+#include "glutil.h"
#include <stdio.h>
#include <assert.h>
context = glXCreateContext(display, vi, 0, GL_TRUE);
glXMakeCurrent(display, window, context);
assert(glXIsDirect(display, context));
+ printf("Using GL version: %s\n", glGetString(GL_VERSION));
+ // initialise GL utilities
+ resolveFunctionPointers((T_glGetProcAddress)glXGetProcAddress);
}
GLXBackend::~GLXBackend()