*/
#include "eglbackend.h"
+#include "glutil.h"
#include <stdlib.h>
#include <stdio.h>
exitEglError("Failed to create context");
if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE)
exitEglError("Failed to make context current");
+ printf("Using GL version: %s\n", glGetString(GL_VERSION));
+ // initialise GL utilities
+ resolveFunctionPointers(eglGetProcAddress);
}
EGLBackend::~EGLBackend()